Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] allow to pass the number of parallel jobs via command line
Date: Mon, 01 Oct 2012 21:46:31 +0200	[thread overview]
Message-ID: <87obkm3rhk.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <20120926165756.GB31527@game.jcrosoft.org> (Jean-Christophe PLAGNIOL-VILLARD's message of "Wed, 26 Sep 2012 18:57:56 +0200")

>>>>> "Jean-Christophe" == Jean-Christophe PLAGNIOL-VILLARD <plagnioj@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

  parent reply	other threads:[~2012-10-01 19:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-25 10:17 [Buildroot] [PATCH 1/1] allow to pass the number of parallel jobs via command line Jean-Christophe PLAGNIOL-VILLARD
2012-09-25 20:36 ` Peter Korsgaard
2012-09-26  6:23   ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-26 10:42     ` Peter Korsgaard
2012-09-26 16:57       ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-26 19:23         ` Nathan Lynch
2012-10-01 19:46         ` Peter Korsgaard [this message]
2012-10-04  6:57           ` Jean-Christophe PLAGNIOL-VILLARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87obkm3rhk.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox