Commit 8948284e authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Add option to disable/enable use of the SMP BSP.

parent e29ab2df
...@@ -7,6 +7,10 @@ ifeq ($(FPU),) ...@@ -7,6 +7,10 @@ ifeq ($(FPU),)
FPU=1 FPU=1
endif endif
ifeq ($(SMP),)
SMP=_smp
endif
# To be able to properly handle any combination of (FPU, LEON, release) # To be able to properly handle any combination of (FPU, LEON, release)
# options, create a SUFFIX (see below) to differentiate output folders # options, create a SUFFIX (see below) to differentiate output folders
ifeq ($(FPU),1) ifeq ($(FPU),1)
...@@ -61,7 +65,7 @@ CDEP = ${CC} ...@@ -61,7 +65,7 @@ CDEP = ${CC}
# What include flags to pass to the compiler # What include flags to pass to the compiler
INCLUDEFLAGS= -I src INCLUDEFLAGS= -I src
COMMON += -mcpu=leon3 -qbsp=${LEON}_smp -Wall \ COMMON += -mcpu=leon3 -qbsp=${LEON}${SMP} -Wall \
-Wmissing-prototypes -Wimplicit-function-declaration \ -Wmissing-prototypes -Wimplicit-function-declaration \
-Wstrict-prototypes -Wnested-externs -Wstrict-prototypes -Wnested-externs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment