[ar7] revert part of r16112, the setup.c part needs more testing
[openwrt.git] / package / madwifi / patches / 106-get_arch.patch
1 --- a/scripts/get_arch.mk
2 +++ b/scripts/get_arch.mk
3 @@ -36,6 +36,13 @@ ifeq (,$(ARCH-y))
4 $(Cannot determine ARCH)
5 endif
6
7 +# Allow ARCH to be x86
8 +ifneq (,$(CONFIG_X86))
9 +ifeq (x86,$(ARCH))
10 +ARCH-y = $(ARCH)
11 +endif
12 +endif
13 +
14 # Don't allow ARCH to be overridden by a different value.
15 ifeq (,$(ARCH))
16 ARCH = $(ARCH-y)
This page took 0.046807 seconds and 5 git commands to generate.