aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-10-24 20:03:14 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-10-24 20:03:14 +0000
commite37ba1b45a8020bae4dea284928237e6adf9ef7a (patch)
tree9082e520ca8c09be5cb7ebcf8d34770baedcb836
parent275198f3f9657930cdaf83b64201addc1d0f26f2 (diff)
downloadupstream-e37ba1b45a8020bae4dea284928237e6adf9ef7a.tar.gz
upstream-e37ba1b45a8020bae4dea284928237e6adf9ef7a.tar.bz2
upstream-e37ba1b45a8020bae4dea284928237e6adf9ef7a.zip
Treat i686 as an i386 if present, fixes build errors with wireless-tools on i686 (x86 mediacenter)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9439 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index cd5446acef..28d28b10c2 100644
--- 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))