Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] Question: := vs = in package *.mk files
Date: Wed, 05 Oct 2011 22:40:01 +0200	[thread overview]
Message-ID: <87wrcjmau6.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <20111005090428.34c8f565@skate> (Thomas Petazzoni's message of "Wed, 5 Oct 2011 09:04:28 +0200")

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

Hi,

 Thomas> In package definition, Peter has said that he preferred the usage of
 Thomas> '=' except when it would create a noticeable performance problem. So
 Thomas> for all package definitions such as _SITE, _VERSION, _SOURCE,
 Thomas> _AUTORECONF, _INSTALL_STAGING, etc. the '=' sign is the one to choose.

Indeed. And the reason for this is that it fixes ordering issues because
of the late bindings, so you don't need to be careful about using
"outside" variables within a package .mk

-- 
Bye, Peter Korsgaard

      reply	other threads:[~2011-10-05 20:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-05  0:55 [Buildroot] Question: := vs = in package *.mk files H Hartley Sweeten
2011-10-05  7:04 ` Thomas Petazzoni
2011-10-05 20:40   ` Peter Korsgaard [this message]

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=87wrcjmau6.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