From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Pierre Yves MORDRET <pierre-yves.mordret@st.com>,
"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Conditional Configuration Fragments
Date: Mon, 9 Jun 2014 12:41:36 -0400 [thread overview]
Message-ID: <5395E3C0.2010206@windriver.com> (raw)
In-Reply-To: <888B7DC5D4899F46A9721989283666969C1E50A1DC@SAFEX1MAIL5.st.com>
On 14-06-09 11:26 AM, Pierre Yves MORDRET wrote:
> Hello,
>
> I really don’t know whether this is feasible or not, but I’m trying to
> build a yocto image (custom image) with conditional configuration fragments.
>
> Today I have 2 image type: one for deployment purpose and another for
> debug purpose. Debug images is only a superset of deployment image with
> additional debug capabilities: nothing else.
>
> However now I would like to add additional linux kernel features to this
> debug image (ex: CONFIG_DEBUG_INFO=y).
>
> I want to add this feature into debug image, but NOT in deployment image.
>
> I was thinking to create a .bbappend to my linux .bb file, but again I
> don’t see how to use .bbappend in a conditional way (based on image name
> for instance)
>
> Do you have any idea to perform such request ?
Fragments are either just added to the SRC_URI or KERNEL_FEATURES via
the normal variable assignment rules.
So if you have something that you can test on (image/distro feature as
an example), you can use anonymous python and do a conditional
assignment.
Others on the list may have more elegant suggestions!
Bruce
>
> Many thanks in advance
>
> Description: Description: Description: Description: Description:
> Description: Description: Description: Description: Description:
> Description: Description: logo_big5
>
> Pierre-Yves MORDRET |TINA: 166 7286 |Tel: +33 244027286 | Mobile: +33
> 611091514
>
> UPD | Middleware Integrator
>
>
>
next prev parent reply other threads:[~2014-06-09 16:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-09 15:26 Conditional Configuration Fragments Pierre Yves MORDRET
2014-06-09 16:41 ` Bruce Ashfield [this message]
2014-06-09 16:56 ` Paul Eggleton
-- strict thread matches above, loose matches on Subject: below --
2014-06-10 15:11 Pierre Yves MORDRET
2014-06-10 16:04 ` Bruce Ashfield
2014-06-10 16:09 ` Paul Eggleton
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=5395E3C0.2010206@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=pierre-yves.mordret@st.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.