All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: Bernd <prof7bit@gmail.com>, yocto@yoctoproject.org
Subject: Re: variable override syntax, where is it documented?
Date: Wed, 6 Dec 2017 11:09:50 +0200	[thread overview]
Message-ID: <bb77a6ec-731f-e249-24e2-b0bbe9cf0ccf@linux.intel.com> (raw)
In-Reply-To: <CAAkg2-mQ8RswTrBrFDt1v_-600+aCYNnmhHX=9aO6X2t8f6QfA@mail.gmail.com>

On 12/06/2017 10:58 AM, Bernd wrote:
> I just found out that I can ovverride the line
> 
> hostname = "${MACHINE}"
> 
> in base-files simply by assigning a value to
> 
> hostname_pn-base-files
> 
> in my configuration file and it will re-assign it with a higher
> priority than "=".
> 
> Now I wonder where this kind of black magic is documented, I don't
> seem to be able to locate any document that explains the "_pn-" syntax
> and I wonder if there are even more such tricks that could be useful
> and am looking for a document that explains them all. Is there such a
> thing?

Yes, of course. This:

http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-OVERRIDES

and this:

http://www.yoctoproject.org/docs/2.5/bitbake-user-manual/bitbake-user-manual.html#conditional-syntax-overrides


Alex


      reply	other threads:[~2017-12-06  9:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-06  8:58 variable override syntax, where is it documented? Bernd
2017-12-06  9:09 ` Alexander Kanavin [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=bb77a6ec-731f-e249-24e2-b0bbe9cf0ccf@linux.intel.com \
    --to=alexander.kanavin@linux.intel.com \
    --cc=prof7bit@gmail.com \
    --cc=yocto@yoctoproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.