From 8948284ebaf91da0ac37a4265a0e78a70e4252b5 Mon Sep 17 00:00:00 2001 From: Thanassis Tsiodras Date: Fri, 9 Mar 2018 17:42:14 +0100 Subject: [PATCH] Add option to disable/enable use of the SMP BSP. --- GAISLER/Makefile.RCCrc3_GR740 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/GAISLER/Makefile.RCCrc3_GR740 b/GAISLER/Makefile.RCCrc3_GR740 index 8984385..38cdc64 100644 --- a/GAISLER/Makefile.RCCrc3_GR740 +++ b/GAISLER/Makefile.RCCrc3_GR740 @@ -7,6 +7,10 @@ ifeq ($(FPU),) FPU=1 endif +ifeq ($(SMP),) +SMP=_smp +endif + # To be able to properly handle any combination of (FPU, LEON, release) # options, create a SUFFIX (see below) to differentiate output folders ifeq ($(FPU),1) @@ -61,7 +65,7 @@ CDEP = ${CC} # What include flags to pass to the compiler INCLUDEFLAGS= -I src -COMMON += -mcpu=leon3 -qbsp=${LEON}_smp -Wall \ +COMMON += -mcpu=leon3 -qbsp=${LEON}${SMP} -Wall \ -Wmissing-prototypes -Wimplicit-function-declaration \ -Wstrict-prototypes -Wnested-externs -- GitLab