kbuild: collect shorthands into scripts/Kbuild.include
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 26 Nov 2014 10:31:13 +0000 (19:31 +0900)
committerMichal Marek <mmarek@suse.cz>
Wed, 26 Nov 2014 13:36:52 +0000 (14:36 +0100)
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>
Makefile
scripts/Kbuild.include
scripts/Makefile.clean
scripts/Makefile.headersinst

diff --cc Makefile
Simple merge
Simple merge
Simple merge
Simple merge