introduce PARALLEL_JOBS build system variable
authorNathan Lynch <ntl@pobox.com>
Mon, 11 Jun 2012 16:09:37 +0000 (16:09 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 24 Jun 2012 09:09:21 +0000 (11:09 +0200)
commita72aed3a7434ed35599674a8405b1baee0f3df75
tree5761114ae42e0b7f5840f907910787204f08d731
parent3cd8183f875a56ccffd0adf951ae6caed4b8b0a5
introduce PARALLEL_JOBS build system variable

BR2_JLEVEL currently is expanded directly in $(MAKE), and used in
invocations of other build software (e.g. ct-ng).  However, we are
going to allow "0" to be a meaningful value for BR2_JLEVEL, which
won't work for these uses.  Given that it is not permissible to modify
BR2_-prefixed variables in Makefiles, we need an intermediate
variable.

Define PARALLEL_JOBS to $(BR2_JLEVEL), and use the former in MAKE's
definition.  Uses of BR2_JLEVEL throughout the rest of the tree to be
adjusted similarly in follow-up patches.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Makefile.in