X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=scripts%2Fget_arch.mk;h=0a239f0b726c4321e00172b5c05d2e298903f617;hb=89f9f3ed2ada75301cc632eb95fe1c17ba5809d2;hp=c788041a3687db3d531d66b58c583ce98ce83a72;hpb=a9788959cdfe228b433ce0273c8f66b9947ffd82;p=madwifi%2F.git diff --git a/scripts/get_arch.mk b/scripts/get_arch.mk index c788041..0a239f0 100644 --- a/scripts/get_arch.mk +++ b/scripts/get_arch.mk @@ -36,6 +36,13 @@ ifeq (,$(ARCH-y)) $(Cannot determine ARCH) endif +# Allow ARCH to be x86 +ifneq (,$(CONFIG_X86)) +ifeq (x86,$(ARCH)) +ARCH-y = $(ARCH) +endif +endif + # Don't allow ARCH to be overridden by a different value. ifeq (,$(ARCH)) ARCH = $(ARCH-y)