diff options
author | Wolfgang Denk <wd@denx.de> | 2009-08-04 21:54:11 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-08-04 21:54:11 +0200 |
commit | cb32ed1fc298875845f166d326a3f2704a0d5364 (patch) | |
tree | 0bfddffa6c6457f87fffd4dd49ebf9698d45bf87 /cpu/mcf52x2/config.mk | |
parent | 06bffc6ea52d4b390843d295d438b2037d12e5fd (diff) | |
parent | 052c08916532d1d9c2f69eb9229709c7b2fc1f02 (diff) | |
download | u-boot-imx-cb32ed1fc298875845f166d326a3f2704a0d5364.zip u-boot-imx-cb32ed1fc298875845f166d326a3f2704a0d5364.tar.gz u-boot-imx-cb32ed1fc298875845f166d326a3f2704a0d5364.tar.bz2 |
Merge branch 'next' of git://git.denx.de/u-boot-coldfire
Diffstat (limited to 'cpu/mcf52x2/config.mk')
-rw-r--r-- | cpu/mcf52x2/config.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/mcf52x2/config.mk b/cpu/mcf52x2/config.mk index 8292736..52751be 100644 --- a/cpu/mcf52x2/config.mk +++ b/cpu/mcf52x2/config.mk @@ -26,6 +26,7 @@ PLATFORM_RELFLAGS += -ffixed-d7 -msep-data cfg=$(shell grep configs $(OBJTREE)/include/config.h | sed 's/.*<\(configs.*\)>/\1/') +is5208:=$(shell grep CONFIG_M5208 $(TOPDIR)/include/$(cfg)) is5249:=$(shell grep CONFIG_M5249 $(TOPDIR)/include/$(cfg)) is5253:=$(shell grep CONFIG_M5253 $(TOPDIR)/include/$(cfg)) is5271:=$(shell grep CONFIG_M5271 $(TOPDIR)/include/$(cfg)) @@ -36,6 +37,9 @@ is5282:=$(shell grep CONFIG_M5282 $(TOPDIR)/include/$(cfg)) ifneq ($(findstring 4.1,$(shell $(CC) --version)),4.1) +ifneq (,$(findstring CONFIG_M5208,$(is5208))) +PLATFORM_CPPFLAGS += -mcpu=5208 +endif ifneq (,$(findstring CONFIG_M5249,$(is5249))) PLATFORM_CPPFLAGS += -mcpu=5249 endif |