From f7ce12cb65a30c6e152eecf26f0304b7d78cf39d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 18 Feb 2008 05:26:48 -0500 Subject: 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 --- blackfin_config.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'blackfin_config.mk') diff --git a/blackfin_config.mk b/blackfin_config.mk index a7513ea4dc..d90eb238c3 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 -- cgit v1.2.1