mirror of
https://github.com/apache/nuttx.git
synced 2026-05-14 11:28:22 +08:00
1768e7868b
after the CI environment is upgraded to Ubuntu 22 and GNU make is upgraded to 4.3, `warning: jobserver unavailable: using -j1. Add '+' to parent make rule.` warning appears. this because when executing a shell in Make, the new shell created will not inherit the parallel environment of the parent shell(jobserver). in our case: ``` $ make olddefconfig this execute into Unix.mk twice, because it will call make clean_context in its target olddefconfig: $(Q) $(MAKE) clean_context ``` We replace the shell call with the target of the Makefile Signed-off-by: xuxin19 <xuxin19@xiaomi.com>