diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-07 18:56:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-07 18:56:10 -0400 |
commit | d43b7167d4c74137f9a6c61fdcead127d60357f9 (patch) | |
tree | 21661650720837e3f5ed8f8c5ded4c9b91a10e83 /arch/x86/Makefile | |
parent | 80b810b276cf89587cdaa103e39027813b1be46c (diff) | |
parent | b1e0d8b70fa31821ebca3965f2ef8619d7c5e316 (diff) |
Merge branch 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kbuild fixes from Michal Marek:
"Here are two fixes I intended to send after v3.6-rc7, but failed to do
so. So please pull them for v3.7-rc1 and they will be picked up by
stable.
The first one fixes gcc -x <language> syntax in various build-time
tests, which icecream and possible other gcc wrappers did not
understand (and yes, icecream is going to be fixed as well).
The second one fixes make tar-pkg so that unpacking the tarball does
not replace the /lib -> /usr/lib symlink on recent Fedora releases."
* 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
kbuild: Fix gcc -x syntax
kbuild: Do not package /boot and /lib in make tar-pkg
Diffstat (limited to 'arch/x86/Makefile')
-rw-r--r-- | arch/x86/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 474ca35b1bce..58790bd85c1d 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile | |||
@@ -92,7 +92,7 @@ endif | |||
92 | ifdef CONFIG_X86_X32 | 92 | ifdef CONFIG_X86_X32 |
93 | x32_ld_ok := $(call try-run,\ | 93 | x32_ld_ok := $(call try-run,\ |
94 | /bin/echo -e '1: .quad 1b' | \ | 94 | /bin/echo -e '1: .quad 1b' | \ |
95 | $(CC) $(KBUILD_AFLAGS) -c -xassembler -o "$$TMP" - && \ | 95 | $(CC) $(KBUILD_AFLAGS) -c -x assembler -o "$$TMP" - && \ |
96 | $(OBJCOPY) -O elf32-x86-64 "$$TMP" "$$TMPO" && \ | 96 | $(OBJCOPY) -O elf32-x86-64 "$$TMP" "$$TMPO" && \ |
97 | $(LD) -m elf32_x86_64 "$$TMPO" -o "$$TMP",y,n) | 97 | $(LD) -m elf32_x86_64 "$$TMPO" -o "$$TMP",y,n) |
98 | ifeq ($(x32_ld_ok),y) | 98 | ifeq ($(x32_ld_ok),y) |
@@ -142,7 +142,7 @@ KBUILD_CFLAGS += $(call cc-option,-mno-avx,) | |||
142 | KBUILD_CFLAGS += $(mflags-y) | 142 | KBUILD_CFLAGS += $(mflags-y) |
143 | KBUILD_AFLAGS += $(mflags-y) | 143 | KBUILD_AFLAGS += $(mflags-y) |
144 | 144 | ||
145 | archscripts: scripts_basic | 145 | archscripts: |
146 | $(Q)$(MAKE) $(build)=arch/x86/tools relocs | 146 | $(Q)$(MAKE) $(build)=arch/x86/tools relocs |
147 | 147 | ||
148 | ### | 148 | ### |