[U-Boot-Users] [PATCH] blackfin: Move `-D__BLACKFIN__' to $(ARCH)_config.mk

Shinya Kuribayashi skuribay at ruby.dti.ne.jp
Tue Oct 30 18:18:15 CET 2007


Signed-off-by: Shinya Kuribayashi <skuribay at ruby.dti.ne.jp>
---

 blackfin_config.mk |    2 +-
 config.mk          |    4 ----
 2 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/blackfin_config.mk b/blackfin_config.mk
index df324b7..f71a313 100644
--- a/blackfin_config.mk
+++ b/blackfin_config.mk
@@ -21,4 +21,4 @@
 # MA 02111-1307 USA
 #
 
-PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN
+PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN -D__BLACKFIN__
diff --git a/config.mk b/config.mk
index 35e2963..f1edb40 100644
--- a/config.mk
+++ b/config.mk
@@ -60,10 +60,6 @@ PLATFORM_CPPFLAGS+= -D__PPC__
 endif
 endif
 
-ifeq ($(ARCH),blackfin)
-PLATFORM_CPPFLAGS+= -D__BLACKFIN__
-endif
-
 ifdef	ARCH
 sinclude $(TOPDIR)/$(ARCH)_config.mk	# include architecture dependend rules
 endif




More information about the U-Boot mailing list