aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2012-02-28 04:35:06 -0500
committerIngo Molnar <mingo@elte.hu>2012-02-28 04:35:06 -0500
commit8bd69c2d5f9c0b5237c632d1b21dbfe4fd16ba6b (patch)
tree9b7036867d05102b6d4b7a3514b79f804c7cab18 /arch
parent0bf6276392e990dd0da0ccd8e10f42597d503f29 (diff)
x86/x32: Fix the binutils auto-detect
Fix: arch/x86/Makefile:96: *** recipe commences before first target. Stop. Cc: H. Peter Anvin <hpa@linux.intel.com> Cc: H. J. Lu <hjl.tools@gmail.com> Link: http://lkml.kernel.org/r/1329696488-16970-1-git-send-email-hpa@zytor.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/Makefile14
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
98endif 98endif
99export CONFIG_X86_X32_ABI 99export CONFIG_X86_X32_ABI
100 100