skiffos / SkiffOS

Any Linux distribution, anywhere.
https://skiffos.com
MIT License
687 stars 51 forks source link

Correctly pass MAKEFLAGS to child make processes #188

Closed dicta closed 2 years ago

dicta commented 2 years ago

When GNU make invokes instances of itself recursively, it passes flags from the main command line to sub-makes (most commonly -k and -jN, but other flags are useful too). To do this, it needs to know that the process it is invoking is make.

For this reason, it's expected that recursive make always uses $(MAKE) target to invoke a sub-make rather than just make target.

paralin commented 2 years ago

Thanks, will merge.