kbuild: simplify build, clean, modbuiltin shorthands
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 9 Sep 2014 11:03:58 +0000 (20:03 +0900)
committerMichal Marek <mmarek@suse.cz>
Thu, 2 Oct 2014 13:12:41 +0000 (15:12 +0200)
commit5b2389b45d1a9c12b9f4b976e38c36264bfc42f5
tree9d5bdfc4475aca7884edd5d8d205cc1c5ff53230
parent226422d08c33cf0b68f6ea55a3b0e5f9c8212bf8
kbuild: simplify build, clean, modbuiltin shorthands

$(if $(KBUILD_SRC),$(srctree)/) was a useful strategy
to omit a long absolute path for in-source-tree build
prior to commit 890676c65d699db3ad82e7dddd0cf8fb449031af
(kbuild: Use relative path when building in the source tree).

Now $(srctree) is "." when building in the source tree.
It would not be annoying to add "$(srctree)/" all the time.

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