Allow ARCH to be set to "x86". That's what it is in Linux 2.6.24 for
[madwifi/.git] / scripts / get_arch.mk
index c788041a3687db3d531d66b58c583ce98ce83a72..0a239f0b726c4321e00172b5c05d2e298903f617 100644 (file)
@@ -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)