aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e28dde8887d7..b32963adfb95 100644
--- a/Makefile
+++ b/Makefile
@@ -197,8 +197,13 @@ CROSS_COMPILE ?=
197UTS_MACHINE := $(ARCH) 197UTS_MACHINE := $(ARCH)
198SRCARCH := $(ARCH) 198SRCARCH := $(ARCH)
199 199
200# for i386 and x86_64 we use SRCARCH equal to x86 200# Additional ARCH settings for x86
201SRCARCH := $(if $(filter x86_64 i386,$(SRCARCH)),x86,$(SRCARCH)) 201ifeq ($(ARCH),i386)
202 SRCARCH := x86
203endif
204ifeq ($(ARCH),x86_64)
205 SRCARCH := x86
206endif
202 207
203KCONFIG_CONFIG ?= .config 208KCONFIG_CONFIG ?= .config
204 209