[U-Boot] [PATCH] make: Remove redundant __ARM__ addition when cross-compiling on *BSD

Shinya Kuribayashi skuribay at ruby.dti.ne.jp
Sat Aug 30 22:38:41 CEST 2008


__ARM__ is given by arm_config.mk automatically.

Signed-off-by: Shinya Kuribayashi <skuribay at ruby.dti.ne.jp>
---
 config.mk |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/config.mk b/config.mk
index c225df1..5a9334c 100644
--- a/config.mk
+++ b/config.mk
@@ -44,15 +44,6 @@ PLATFORM_RELFLAGS =
 PLATFORM_CPPFLAGS =
 PLATFORM_LDFLAGS =
 
-ifeq ($(ARCH),arm)
-ifeq ($(CROSS_COMPILE),powerpc-netbsd-)
-PLATFORM_CPPFLAGS+= -D__ARM__
-endif
-ifeq ($(CROSS_COMPILE),powerpc-openbsd-)
-PLATFORM_CPPFLAGS+= -D__ARM__
-endif
-endif
-
 #########################################################################
 
 CONFIG_SHELL	:= $(shell if [ -x "$$BASH" ]; then echo $$BASH; \


More information about the U-Boot mailing list