[Buildroot] [PATCH 1/1] allow to pass the number of parallel jobs via command line
Peter Korsgaard
jacmet at uclibc.org
Mon Oct 1 19:46:31 UTC 2012
>>>>> "Jean-Christophe" == Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com> writes:
Hi,
JC> kconfig overwrite and you can not optarg env as
JC> BR2_JLEVEL is a int so need to use PARALLEL_JOBS
>>
>> Sorry, I don't understand what you are saying here. BR2_JLEVEL works
>> fine:
>>
>> make BR2_LEVEL=42
>> ...
>> /usr/bin/make -j42 CC="/home/peko/source/buildroot/output/host/usr/bin/arm-linux-gcc" ..
Jean-Christophe> here does not work
Jean-Christophe> I try this
Jean-Christophe> with a value of BR2_JLEVEL at 4
Jean-Christophe> BR2_JLEVEL=13 make
That doesn't work. Variables defined on the make commandline take
precedence over definitions in makefiles, but environment variables
don't (and should not, stuff would break all the time).
Just use make BR2_JLEVEL=$BR2_JLEVEL to get your shell to expand the
variable for you.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list