diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -197,8 +197,13 @@ CROSS_COMPILE ?= | |||
197 | UTS_MACHINE := $(ARCH) | 197 | UTS_MACHINE := $(ARCH) |
198 | SRCARCH := $(ARCH) | 198 | SRCARCH := $(ARCH) |
199 | 199 | ||
200 | # for i386 and x86_64 we use SRCARCH equal to x86 | 200 | # Additional ARCH settings for x86 |
201 | SRCARCH := $(if $(filter x86_64 i386,$(SRCARCH)),x86,$(SRCARCH)) | 201 | ifeq ($(ARCH),i386) |
202 | SRCARCH := x86 | ||
203 | endif | ||
204 | ifeq ($(ARCH),x86_64) | ||
205 | SRCARCH := x86 | ||
206 | endif | ||
202 | 207 | ||
203 | KCONFIG_CONFIG ?= .config | 208 | KCONFIG_CONFIG ?= .config |
204 | 209 | ||