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: [email protected] <[email protected]> on behalf of Matt Schepers <[email protected]> Sent: Friday, November 17, 2017 18:07 To: Alexander Kanavin; [email protected] 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 <[email protected]> Sent: Friday, November 17, 2017 12:03 AM To: Matt Schepers; [email protected] 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 [email protected] https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
