]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
blackfin: Move `-D__BLACKFIN__' to $(ARCH)_config.mk
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Tue, 30 Oct 2007 17:18:15 +0000 (02:18 +0900)
committerWolfgang Denk <wd@denx.de>
Sat, 3 Nov 2007 21:47:13 +0000 (22:47 +0100)
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
blackfin_config.mk
config.mk

index df324b7efa9a76d384dbaed26852d93b05dba7a1..f71a31370ec280ef6fee8be68a0a2fc1372d99fb 100644 (file)
@@ -21,4 +21,4 @@
 # MA 02111-1307 USA
 #
 
-PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN
+PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN -D__BLACKFIN__
index 582df329a47b4e85bbbd2ae909c01d11cf71223d..37d61a0c86844df7e124515b3d63d94a88ebc1ae 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -69,10 +69,6 @@ PLATFORM_CPPFLAGS+= -D__ARM__
 endif
 endif
 
-ifeq ($(ARCH),blackfin)
-PLATFORM_CPPFLAGS+= -D__BLACKFIN__
-endif
-
 ifdef  ARCH
 sinclude $(TOPDIR)/$(ARCH)_config.mk   # include architecture dependend rules
 endif