Re: [PATCH 6/6] kbuild: check clean srctree even earlier

2019-08-29 Thread Masahiro Yamada
On Thu, Aug 22, 2019 at 1:46 PM Masahiro Yamada wrote: > > Move the outputmakefile target to the leftmost in the prerequisite list > so that this is checked first. There is no guarantee that Make runs the > prerequisites from left to right, Looks like this is guaranteed. I did not know POSIX def

[PATCH 6/6] kbuild: check clean srctree even earlier

2019-08-21 Thread Masahiro Yamada
Move the outputmakefile target to the leftmost in the prerequisite list so that this is checked first. There is no guarantee that Make runs the prerequisites from left to right, but at least the released versions of GNU Make work like that when the parallel build option is not given. Of course, wh