summaryrefslogtreecommitdiff
path: root/software/global_interrupts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'software/global_interrupts/Makefile')
-rw-r--r--software/global_interrupts/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/software/global_interrupts/Makefile b/software/global_interrupts/Makefile
new file mode 100644
index 0000000..6a09f97
--- /dev/null
+++ b/software/global_interrupts/Makefile
@@ -0,0 +1,9 @@
+TARGET = global_interrupts
+CFLAGS += -O2 -fno-builtin-printf -DUSE_LOCAL_ISR
+
+BSP_BASE = ../../bsp
+
+C_SRCS += global_interrupts.c
+C_SRCS += $(BSP_BASE)/drivers/plic/plic_driver.c
+
+include $(BSP_BASE)/env/common.mk