diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-11-26 11:31:13 +0100 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-11-26 14:36:52 +0100 |
commit | 371fdc77af44f4cb32475fd499e1d912ccc30890 (patch) | |
tree | ce9ed2d9ad910157faf8a990e40520bc278f36cc /scripts/Makefile.headersinst | |
parent | Linux 3.18-rc1 (diff) | |
download | linux-371fdc77af44f4cb32475fd499e1d912ccc30890.tar.xz linux-371fdc77af44f4cb32475fd499e1d912ccc30890.zip |
kbuild: collect shorthands into scripts/Kbuild.include
The shorthand "clean" is defined in both the top Makefile and
scripts/Makefile.clean. Likewise, the "hdr-inst" is defined in
both the top Makefile and scripts/Makefile.headersinst.
To reduce code duplication, this commit collects them into
scripts/Kbuild.include like the "build" and "modbuiltin" shorthands.
It requires scripts/Makefile.clean to include scripts/Kbuild.include,
but its impact on the performance of "make clean" should be
negligible.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/Makefile.headersinst')
-rw-r--r-- | scripts/Makefile.headersinst | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst index 8ccf83056a7a..1106d6ca3a38 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst @@ -122,7 +122,6 @@ $(check-file): scripts/headers_check.pl $(output-files) FORCE endif # Recursion -hdr-inst := -rR -f $(srctree)/scripts/Makefile.headersinst obj .PHONY: $(subdirs) $(subdirs): $(Q)$(MAKE) $(hdr-inst)=$(obj)/$@ dst=$(_dst)/$@ |