make: Remove redundant __ARM__ addition when cross-compiling on *BSD
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Fri, 12 Sep 2008 00:20:46 +0000 (02:20 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 12 Sep 2008 00:20:46 +0000 (02:20 +0200)
__ARM__ is given by arm_config.mk automatically.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
config.mk

index c225df1a43c1a3179045c659ff8f9a65d834783a..5a9334c6f6c8982beb195e67054e0a7272b495da 100644 (file)
--- 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; \