summaryrefslogtreecommitdiff
path: root/blackfin_config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'blackfin_config.mk')
-rw-r--r--blackfin_config.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/blackfin_config.mk b/blackfin_config.mk
index a7513ea..d90eb23 100644
--- a/blackfin_config.mk
+++ b/blackfin_config.mk
@@ -24,9 +24,13 @@
PLATFORM_RELFLAGS += -ffixed-P5
PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN
+ifneq (,$(CONFIG_BFIN_CPU))
+PLATFORM_RELFLAGS += -mcpu=$(CONFIG_BFIN_CPU)
+endif
+
SYM_PREFIX = _
LDR_FLAGS += --use-vmas
-ifeq (,$(findstring s,$(MAKEFLAGS)))
+ifneq (,$(findstring s,$(MAKEFLAGS)))
LDR_FLAGS += --quiet
endif