From: Linus Torvalds Date: Sat, 20 Dec 2014 21:31:14 +0000 (-0800) Subject: Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d08372ca2800e23c51e76dea5fc516781e82722e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Merge branch 'kbuild' of git://git./linux/kernel/git/mmarek/kbuild Pull kbuild updates from Michal Marek: "Here are the kbuild changes for v3.19-rc1: - Cleanups and deduplication in the main Makefile and scripts/Makefile.* - Sort the output of *config targets in make help - Old is always removed to avoid a surprise during bisecting - Warning fix in kconfig" * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild: kbuild: remove redundant -rR flag of hdr-inst kbuild: Fix make help- on powerpc kbuild: Automatically remove stale file kconfig: Fix warning "‘jump’ may be used uninitialized" Makefile: sort list of defconfig targets in make help output kbuild: Remove duplicate $(cmd) definition in Makefile.clean kbuild: collect shorthands into scripts/Kbuild.include --- d08372ca2800e23c51e76dea5fc516781e82722e diff --cc scripts/Kbuild.include index 5374b1bdf02f,353dcf09dd18..edd2794569db --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@@ -179,12 -179,18 +179,24 @@@ build := -f $(srctree)/scripts/Makefile # $(Q)$(MAKE) $(modbuiltin)=dir modbuiltin := -f $(srctree)/scripts/Makefile.modbuiltin obj +### +# Shorthand for $(Q)$(MAKE) -f scripts/Makefile.dtbinst obj= +# Usage: +# $(Q)$(MAKE) $(dtbinst)=dir +dtbinst := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.dtbinst obj + + ### + # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.clean obj= + # Usage: + # $(Q)$(MAKE) $(clean)=dir + clean := -f $(srctree)/scripts/Makefile.clean obj + + ### + # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.headersinst obj= + # Usage: + # $(Q)$(MAKE) $(hdr-inst)=dir + hdr-inst := -f $(srctree)/scripts/Makefile.headersinst obj + # Prefix -I with $(srctree) if it is not an absolute path. # skip if -I has no parameter addtree = $(if $(patsubst -I%,%,$(1)), \