diff options
-rw-r--r-- | arch/x86/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 31bb1eb1216a..968dbe24a255 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile | |||
@@ -88,13 +88,13 @@ ifdef CONFIG_X86_X32 | |||
88 | $(CC) $(KBUILD_AFLAGS) -c -xassembler -o "$$TMP" - && \ | 88 | $(CC) $(KBUILD_AFLAGS) -c -xassembler -o "$$TMP" - && \ |
89 | $(OBJCOPY) -O elf32-x86-64 "$$TMP" "$$TMPO" && \ | 89 | $(OBJCOPY) -O elf32-x86-64 "$$TMP" "$$TMPO" && \ |
90 | $(LD) -m elf32_x86_64 "$$TMPO" -o "$$TMP",y,n) | 90 | $(LD) -m elf32_x86_64 "$$TMPO" -o "$$TMP",y,n) |
91 | ifeq ($(x32_ld_ok),y) | 91 | ifeq ($(x32_ld_ok),y) |
92 | CONFIG_X86_X32_ABI := y | 92 | CONFIG_X86_X32_ABI := y |
93 | KBUILD_AFLAGS += -DCONFIG_X86_X32_ABI | 93 | KBUILD_AFLAGS += -DCONFIG_X86_X32_ABI |
94 | KBUILD_CFLAGS += -DCONFIG_X86_X32_ABI | 94 | KBUILD_CFLAGS += -DCONFIG_X86_X32_ABI |
95 | else | 95 | else |
96 | $(warning CONFIG_X86_X32 enabled but no binutils support) | 96 | $(warning CONFIG_X86_X32 enabled but no binutils support) |
97 | endif | 97 | endif |
98 | endif | 98 | endif |
99 | export CONFIG_X86_X32_ABI | 99 | export CONFIG_X86_X32_ABI |
100 | 100 | ||