Treat i686 as an i386 if present, fixes build errors with wireless-tools on i686...
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 24 Oct 2007 20:03:14 +0000 (20:03 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 24 Oct 2007 20:03:14 +0000 (20:03 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9439 3c298f89-4303-0410-b956-a3cf2f4a3e73

rules.mk

index cd5446a..28d28b1 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -23,7 +23,7 @@ $(strip $(subst ",,$(1)))
 endef
 #"))
 
-ARCH:=$(call qstrip,$(CONFIG_ARCH))
+ARCH:=$(call qstrip,$(shell echo $(CONFIG_ARCH) | sed -e 's/i[3-9]86/i386/'))
 BOARD:=$(call qstrip,$(CONFIG_TARGET_BOARD))
 TARGET_OPTIMIZATION:=$(call qstrip,$(CONFIG_TARGET_OPTIMIZATION))
 BUILD_SUFFIX:=$(call qstrip,$(CONFIG_BUILD_SUFFIX))
This page took 0.022601 seconds and 4 git commands to generate.