From: Ola x Nilsson <ola.x.nilsson@axis.com>
To: Matt Schepers <mschepers@telspandata.com>,
"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Trying to filter out 2 strings from EXTRA_OECONF, why doesn't this work?
Date: Mon, 20 Nov 2017 11:34:43 +0000 [thread overview]
Message-ID: <1511177683478.69487@axis.com> (raw)
In-Reply-To: <CY4PR04MB11771D245B90CAEE11F2A508B02F0@CY4PR04MB1177.namprd04.prod.outlook.com>
This is not a typical use of variables in bitbake. I'm not sure whether it is defined behavior or not, but I doubt you'll find many such examples in the yocto layers.
You can write
EXTRA_OECONF_remove = "--with-term=rxvt --with-name=rxvt"
in your bbappend file.
The problem with this style is that you can never add these options again using _append or any of the += operators.
--
Ola Nilsson
________________________________________
From: yocto-bounces@yoctoproject.org <yocto-bounces@yoctoproject.org> on behalf of Matt Schepers <mschepers@telspandata.com>
Sent: Friday, November 17, 2017 18:07
To: Alexander Kanavin; yocto@yoctoproject.org
Subject: Re: [yocto] Trying to filter out 2 strings from EXTRA_OECONF, why doesn't this work?
I ended up completely overriding EXTRA_OECONF in my .bbappend with the configure flags that I wanted.
I guess I don't understand the order of evaluation in yocto's .bbappend and .bb files. Based on the error I got, problem with double use of := operator, it seems that statements in .bbappend files are not evaluated in order.
________________________________________
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Sent: Friday, November 17, 2017 12:03 AM
To: Matt Schepers; yocto@yoctoproject.org
Subject: Re: [yocto] Trying to filter out 2 strings from EXTRA_OECONF, why doesn't this work?
On 11/17/2017 12:37 AM, Matt Schepers wrote:
> What do I have to do to filter out BOTH configure flags. I realize I can just write a new recipe, but I don't think that's the "correct" answer.
The best way to fix this is to modify the original recipe so that all
three options become PACKAGECONFIG-configurable, and submit the patch to
whoever maintains the recipe.
Alex
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
prev parent reply other threads:[~2017-11-20 11:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-16 22:37 Trying to filter out 2 strings from EXTRA_OECONF, why doesn't this work? Matt Schepers
2017-11-17 7:03 ` Alexander Kanavin
2017-11-17 17:07 ` Matt Schepers
2017-11-20 11:34 ` Ola x Nilsson [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=1511177683478.69487@axis.com \
--to=ola.x.nilsson@axis.com \
--cc=mschepers@telspandata.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.