1 --- a/scripts/get_arch.mk
2 +++ b/scripts/get_arch.mk
3 @@ -36,11 +36,14 @@ ifeq (,$(ARCH-y))
4 $(Cannot determine ARCH)
7 +# Allow ARCH to be x86
8 +ifneq (,$(CONFIG_X86))
14 # Don't allow ARCH to be overridden by a different value.
18 -ifneq ($(ARCH),$(ARCH-y))
19 -$(error ARCH mismatch: supplied "$(ARCH)", determined "$(ARCH-y)")