diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-22 13:46:13 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-29 23:54:29 +0900 |
commit | 36de077b20d05321466f8eaba0ae01b9b18ad93c (patch) | |
tree | 1aa2f8b8100f67ba0b14e75c13bdd07db8464ba5 /samples | |
parent | a5139fb368d2639afc6a3ea7e444f22a3e8ed3be (diff) | |
download | lwn-36de077b20d05321466f8eaba0ae01b9b18ad93c.tar.gz lwn-36de077b20d05321466f8eaba0ae01b9b18ad93c.zip |
kbuild: check clean srctree even earlier
Move the outputmakefile target to the leftmost in the prerequisite list
so that this is checked first. GNU Make processes the prerequisites
left to right.
GNU Make will keep to stick to this behavior, and it seems even
POSIX standard, according to this:
https://lists.gnu.org/archive/html/bug-make/2019-08/msg00030.html
The POSIX standard of make is available here:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html
Of course, when the parallel option -j given, other targets will be run
simultaneously but it is nice to show the error as early as possible.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions