From 132b25c52273213f57ddb39be9b8607122d32480 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 24 Oct 2007 20:03:14 +0000 Subject: [PATCH] Treat i686 as an i386 if present, fixes build errors with wireless-tools on i686 (x86 mediacenter) SVN-Revision: 9439 --- rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.30.2