]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: move "_all" target out of $(KBUILD_SRC) conditional
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 4 Oct 2017 03:56:05 +0000 (12:56 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 10 Oct 2017 01:00:47 +0000 (10:00 +0900)
commitd2f4739891c5ca047d95b56a672bc0a3451e6a5d
treee8c1cd15128ffae56b79694e4c1543568c7273f0
parentcf288d97ba2f1dc112df2f805cf16eb18c8235d0
kbuild: move "_all" target out of $(KBUILD_SRC) conditional

The first "_all" occurrence around line 120 is only visible when
KBUILD_SRC is unset.

If O=... is specified, the working directory is relocated, then the
only second occurrence around line 193 is visible, that is not set
to PHONY.

Move the first one to an always visible place.  This clarifies "_all"
is our default target and it is always set to PHONY.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Makefile