All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Enrico Scholz" <enrico.scholz@sigma-chemnitz.de>
To: "Chris Laplante via lists.openembedded.org"
	<chris.laplante=agilent.com@lists.openembedded.org>
Cc: "bitbake-devel@lists.openembedded.org"
	<bitbake-devel@lists.openembedded.org>,
	chris.laplante@agilent.com
Subject: Re: [bitbake-devel] Trouble capturing layer revision as variable in recipe
Date: Thu, 19 Aug 2021 10:36:11 +0200	[thread overview]
Message-ID: <lyv941g7b8.fsf@ensc-virt.intern.sigma-chemnitz.de> (raw)
In-Reply-To: <DM8PR12MB5430C5689FA1BE41556758938BFF9@DM8PR12MB5430.namprd12.prod.outlook.com> (Chris Laplante via lists openembedded org's message of "Wed, 18 Aug 2021 19:21:05 +0000")

"Chris Laplante via lists.openembedded.org"
<chris.laplante=agilent.com@lists.openembedded.org> writes:

> OUR_LAYER_PATH := "${@get_layer_path(d, "meta-our-layer")}"

fwiw, we capture this location by 'LAYERDIR_<layer> := "${LAYERDIR}"'
within our layer.conf[1].

It would be nice, when bitbake adds such a variable automatically...


Enrico

Footnotes:
[1]  https://github.com/sigma-embedded/meta-de.sigma-chemnitz/blob/5c4f79148e72d5c009be322e5cc32256ffb58bb4/conf/layer.conf#L17

      parent reply	other threads:[~2021-08-19  8:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-18 19:21 Trouble capturing layer revision as variable in recipe Chris Laplante
2021-08-18 22:20 ` [bitbake-devel] " Richard Purdie
2021-08-25 15:26   ` Chris Laplante
2021-08-25 15:34     ` Richard Purdie
2021-08-19  8:02 ` Quentin Schulz
2021-08-25 15:27   ` Chris Laplante
2021-08-19  8:36 ` Enrico Scholz [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=lyv941g7b8.fsf@ensc-virt.intern.sigma-chemnitz.de \
    --to=enrico.scholz@sigma-chemnitz.de \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=chris.laplante=agilent.com@lists.openembedded.org \
    --cc=chris.laplante@agilent.com \
    /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.