summaryrefslogtreecommitdiff
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
commitd22f50a2526d6503a7f00c45e0679b77dd583c0e (patch)
tree59946bea42d339366dd4de3902a13b834ebcab28
parent18c1ffe97caf1a2747dd0255084115711da78b28 (diff)
downloadmtk-20170518-d22f50a2526d6503a7f00c45e0679b77dd583c0e.zip
mtk-20170518-d22f50a2526d6503a7f00c45e0679b77dd583c0e.tar.gz
mtk-20170518-d22f50a2526d6503a7f00c45e0679b77dd583c0e.tar.bz2
Treat i686 as an i386 if present, fixes build errors with wireless-tools on i686 (x86 mediacenter)
SVN-Revision: 9439
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index cd5446a..28d28b1 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))