All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Cc: Thilo Fromm <fromm@dresearch-fe.de>
Subject: Re: Where do I override DISTRO_FEATURES?
Date: Tue, 15 May 2012 16:19:53 -0400	[thread overview]
Message-ID: <20120515201953.GB14162@denix.org> (raw)
In-Reply-To: <3578934.ouGGrvIU0p@helios>

On Tue, May 15, 2012 at 05:23:43PM +0100, Paul Eggleton wrote:
> On Tuesday 15 May 2012 18:12:35 Thilo Fromm wrote:
> > I'm trying to remove an element from DISTRO_FEATURES (specifically
> > "ld-is-gold"), but I am unable to find the right spot to do it. The
> > distribution we're using (Angstrom, as it happens) sets this in
> > conf/distro/angstrom-v2012.x.conf. My machine configuration is the
> > wrong spot to modify DISTRO_FEATURES, since it will be processed
> > first. local.conf is not working, too.
> > 
> > So could anybody please tell me where I need to put my
> > 
> > DISTRO_FEATURES = "${@'${DISTRO_FEATURES}}'.replace('ld-is-gold',  '')}"
> > 
> > so it applies for the build?
> 
> Unfortunately such hacks only work for variables that are not set within the 
> distro configuration, which is applied after local.conf.

Well, while still being an ugly hack, this should still be possible using 
local overrides... I.e. VAR_local in OE or VAR_forcevariable in OE-core/Yocto. 
You may need to use immediate assignment to avoid circular dependency, though.

-- 
Denys



  parent reply	other threads:[~2012-05-15 20:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-15 16:12 Where do I override DISTRO_FEATURES? Thilo Fromm
2012-05-15 16:23 ` Paul Eggleton
2012-05-15 16:44   ` Thilo Fromm
2012-05-15 20:16     ` Denys Dmytriyenko
2012-05-16  8:30       ` Thilo Fromm
2012-05-15 20:19   ` Denys Dmytriyenko [this message]
2012-05-16  8:34     ` Thilo Fromm
2012-05-16  5:31 ` Koen Kooi
2012-05-16  8:37   ` Thilo Fromm
2012-05-16 20:55     ` R U Local
2012-05-16 21:19       ` Khem Raj
2012-05-17  0:35         ` Otavio Salvador
2012-05-18  7:42       ` Thilo Fromm

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=20120515201953.GB14162@denix.org \
    --to=denis@denix.org \
    --cc=fromm@dresearch-fe.de \
    --cc=openembedded-devel@lists.openembedded.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.