aboutsummaryrefslogtreecommitdiff
path: root/blackfin_config.mk
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-18 05:26:48 -0500
committerMike Frysinger <vapier@gentoo.org>2008-03-15 22:14:14 -0400
commitf7ce12cb65a30c6e152eecf26f0304b7d78cf39d (patch)
tree8e3127b578efdae718284988364f13055debec9a /blackfin_config.mk
parent86a20fb920bd198105acf7b1191117f566d637ed (diff)
Blackfin: convert BFIN_CPU to CONFIG_BFIN_CPU
Stop tying things to the processor that should be tied to other defines and change BFIN_CPU to CONFIG_BFIN_CPU so that it can be used in the build system to select the -mcpu option. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
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 a7513ea4d..d90eb238c 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