Re: [PATCH] kbuild: collect shorthands into scripts/Kbuild.include

2014-11-26 Thread Michal Marek
On Wed, Nov 26, 2014 at 07:31:13PM +0900, Masahiro Yamada wrote: > 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

[PATCH] kbuild: collect shorthands into scripts/Kbuild.include

2014-11-26 Thread Masahiro Yamada
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"

[PATCH] kbuild: collect shorthands into scripts/Kbuild.include

2014-11-26 Thread Masahiro Yamada
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

Re: [PATCH] kbuild: collect shorthands into scripts/Kbuild.include

2014-11-26 Thread Michal Marek
On Wed, Nov 26, 2014 at 07:31:13PM +0900, Masahiro Yamada wrote: 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