summaryrefslogtreecommitdiff
path: root/software/smp/Makefile
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-06-14 08:59:41 -0700
committerGitHub <noreply@github.com>2017-06-14 08:59:41 -0700
commit61d6152830d752cd81c34368ecc24a5a2a107061 (patch)
tree58c5b8c05ae24b8c6b035545634200eb3742c064 /software/smp/Makefile
parent809711e87af06ca5c151a2fac568382330f2feb6 (diff)
parent99a8e6a697a340a5f44db82e68ab8ab9be604131 (diff)
Merge pull request #64 from sifive/multicore-scratchpad
Add support for multicore systems and scratchpad-only systems
Diffstat (limited to 'software/smp/Makefile')
-rw-r--r--software/smp/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/software/smp/Makefile b/software/smp/Makefile
new file mode 100644
index 0000000..4131ffc
--- /dev/null
+++ b/software/smp/Makefile
@@ -0,0 +1,6 @@
+TARGET = smp
+C_SRCS += smp.c
+CFLAGS += -O2 -fno-builtin-printf -DENABLE_SMP
+
+BSP_BASE = ../../bsp
+include $(BSP_BASE)/env/common.mk