summaryrefslogtreecommitdiff
path: root/software/vectored_interrupts/Makefile
diff options
context:
space:
mode:
authordbarbi1 <dbarbi1@gmail.com>2017-07-27 12:27:35 -0500
committerGitHub <noreply@github.com>2017-07-27 12:27:35 -0500
commitc43ceddd93513a0b46bb516e39a088a0de3713b6 (patch)
treeb437b0e5161d3ecab5a99ed54fc7bf72c80184f7 /software/vectored_interrupts/Makefile
parent261668c5dc1ba680a55acc0ebcab2ef63110b880 (diff)
parent7ce4b61da3e41c441c3634352782abc9819adf39 (diff)
Merge pull request #69 from sifive/vector
Vector
Diffstat (limited to 'software/vectored_interrupts/Makefile')
-rw-r--r--software/vectored_interrupts/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/software/vectored_interrupts/Makefile b/software/vectored_interrupts/Makefile
new file mode 100644
index 0000000..4365038
--- /dev/null
+++ b/software/vectored_interrupts/Makefile
@@ -0,0 +1,10 @@
+TARGET = vectored_interrupts
+CFLAGS += -O2 -fno-builtin-printf -DVECT_IRQ
+
+BSP_BASE = ../../bsp
+
+ASM_SRCS += $(ENV_DIR)/ventry.S
+C_SRCS += vectored_interrupts.c
+C_SRCS += $(BSP_BASE)/drivers/plic/plic_driver.c
+
+include $(BSP_BASE)/env/common.mk