summaryrefslogtreecommitdiff
path: root/software/clic_interrupts/Makefile
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2018-06-29 18:42:26 -0700
committerGitHub <noreply@github.com>2018-06-29 18:42:26 -0700
commitb091d1cabe70c84825a7f304d725010d2cf163d9 (patch)
tree2605f4e81388a0513e742829ad932a93be1935c2 /software/clic_interrupts/Makefile
parent20541dcc0b415199bd87410aa05b8302f18edaf5 (diff)
parent66ba2aac4875e9131a630c29cea989551ac4cabd (diff)
Merge pull request #94 from sifive/clic
Add a CLIC interrupt example
Diffstat (limited to 'software/clic_interrupts/Makefile')
-rw-r--r--software/clic_interrupts/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/software/clic_interrupts/Makefile b/software/clic_interrupts/Makefile
new file mode 100644
index 0000000..502534d
--- /dev/null
+++ b/software/clic_interrupts/Makefile
@@ -0,0 +1,8 @@
+TARGET = clic_interrupts
+CFLAGS += -O2 -fno-builtin-printf -DUSE_CLIC -DUSE_LOCAL_ISR
+
+BSP_BASE = ../../bsp
+
+C_SRCS += clic.c
+
+include $(BSP_BASE)/env/common.mk