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)
commitba634eceb535d95e87ef09caae7814b3687c6036
treee8c1cd15128ffae56b79694e4c1543568c7273f0
parent9d022c540606a5a8ae5d1cc02fc12de362ba4585
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