[Buildroot] [PATCH] package/canfestival: don't build in parallel

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Aug 25 10:17:36 UTC 2015


Yann,

On Sat, 22 Aug 2015 23:34:50 +0200, Yann E. MORIN wrote:
> The Makefiles for canfestival are not correctly written, which leads to
> multiple warnings such as:
> 
>     make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
> 
> Since canfestival is relatively small, it builds in less than 6s here
> when not in parallell, while a parallel build takes 5s.
> 
> Just disable parallel build to avoid future surprises.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>

Do you actually understand why make is displaying those warning
messages in the first place? From what I understood from the make
manual, it typically happens when you call "make" directly for a
subdirectory instead of using $(MAKE). A quick test on a simple example
seems to confirm that.

However, I see that canfestival seems to be using $(MAKE) everywhere,
so I don't see why make decides that the jobserver is not available.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list