diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-27 15:25:47 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-27 15:25:47 -0500 |
commit | 0ca7ffb356063c5ece847687da457dfe748612a2 (patch) | |
tree | f7858236ba482814c8cacf45447a3f96548a1688 /Makefile | |
parent | 30acd906b02470e7eb346401de966a33864d9af4 (diff) | |
parent | 423a8155facf23719078ff63911c1e85ba40970b (diff) |
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kbuild changes from Michal Marek:
- Alias generation in modpost is cross-compile safe.
- kernel/timeconst.h is now generated using a bc script instead of
perl.
- scripts/link-vmlinux.sh now works with an alternative
$KCONFIG_CONFIG.
- destination-y for exported headers is supported in Kbuild files
again.
- depmod is called with -P $CONFIG_SYMBOL_PREFIX on architectures that
need it.
- CONFIG_DEBUG_INFO_REDUCED disables var-tracking
- scripts/setlocalversion works with too much translated locales ;)
* 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
kbuild: Fix reading of .config in link-vmlinux.sh
kbuild: Unset language specific variables in setlocalversion script
Kbuild: Disable var tracking with CONFIG_DEBUG_INFO_REDUCED
depmod: pass -P $CONFIG_SYMBOL_PREFIX
kbuild: Fix destination-y for installed headers
scripts/link-vmlinux.sh: source variables from KCONFIG_CONFIG
kernel: Replace timeconst.pl with a bc script
mod/file2alias: make modalias generation safe for cross compiling
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -192,7 +192,6 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \ | |||
192 | # "make" in the configured kernel build directory always uses that. | 192 | # "make" in the configured kernel build directory always uses that. |
193 | # Default value for CROSS_COMPILE is not to prefix executables | 193 | # Default value for CROSS_COMPILE is not to prefix executables |
194 | # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile | 194 | # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile |
195 | export KBUILD_BUILDHOST := $(SUBARCH) | ||
196 | ARCH ?= $(SUBARCH) | 195 | ARCH ?= $(SUBARCH) |
197 | CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%) | 196 | CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%) |
198 | 197 | ||
@@ -620,7 +619,8 @@ KBUILD_AFLAGS += -gdwarf-2 | |||
620 | endif | 619 | endif |
621 | 620 | ||
622 | ifdef CONFIG_DEBUG_INFO_REDUCED | 621 | ifdef CONFIG_DEBUG_INFO_REDUCED |
623 | KBUILD_CFLAGS += $(call cc-option, -femit-struct-debug-baseonly) | 622 | KBUILD_CFLAGS += $(call cc-option, -femit-struct-debug-baseonly) \ |
623 | $(call cc-option,-fno-var-tracking) | ||
624 | endif | 624 | endif |
625 | 625 | ||
626 | ifdef CONFIG_FUNCTION_TRACER | 626 | ifdef CONFIG_FUNCTION_TRACER |
@@ -1398,7 +1398,7 @@ quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN $(wildcard $(rm-files)) | |||
1398 | # Run depmod only if we have System.map and depmod is executable | 1398 | # Run depmod only if we have System.map and depmod is executable |
1399 | quiet_cmd_depmod = DEPMOD $(KERNELRELEASE) | 1399 | quiet_cmd_depmod = DEPMOD $(KERNELRELEASE) |
1400 | cmd_depmod = $(CONFIG_SHELL) $(srctree)/scripts/depmod.sh $(DEPMOD) \ | 1400 | cmd_depmod = $(CONFIG_SHELL) $(srctree)/scripts/depmod.sh $(DEPMOD) \ |
1401 | $(KERNELRELEASE) | 1401 | $(KERNELRELEASE) "$(patsubst "%",%,$(CONFIG_SYMBOL_PREFIX))" |
1402 | 1402 | ||
1403 | # Create temporary dir for module support files | 1403 | # Create temporary dir for module support files |
1404 | # clean it up only when building all modules | 1404 | # clean it up only when building all modules |