* Proper use of remove and append
@ 2015-07-22 12:28 Gary Thomas
2015-07-22 13:04 ` Burton, Ross
0 siblings, 1 reply; 2+ messages in thread
From: Gary Thomas @ 2015-07-22 12:28 UTC (permalink / raw)
To: Yocto Project
I was trying to adjust a PACKAGECONFIG setting in my local.conf,
in this case removing a default value.
This didn't work:
PACKAGECONFIG_pn-opencv_remove = "libv4l"
but this did:
PACKAGECONFIG_remove_pn-opencv = "libv4l"
Which is correct (and why)? The examples in the manual aren't
very helpful with this more complex variable.
What about append? If I wanted to add a setting to my PACKAGECONFIG
variable, what's the correct way to write that?
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Proper use of remove and append
2015-07-22 12:28 Proper use of remove and append Gary Thomas
@ 2015-07-22 13:04 ` Burton, Ross
0 siblings, 0 replies; 2+ messages in thread
From: Burton, Ross @ 2015-07-22 13:04 UTC (permalink / raw)
To: Gary Thomas; +Cc: Yocto Project
[-- Attachment #1: Type: text/plain, Size: 440 bytes --]
On 22 July 2015 at 13:28, Gary Thomas <gary@mlbassoc.com> wrote:
> This didn't work:
> PACKAGECONFIG_pn-opencv_remove = "libv4l"
> but this did:
> PACKAGECONFIG_remove_pn-opencv = "libv4l"
>
Correct. _append and _remove go first.
Until _remove was added I remembered this by thinking "overrides are
alphabetical", so _append goes first. That's not the actual rule, but
helped concrete the ordering in my mind!
Ross
[-- Attachment #2: Type: text/html, Size: 952 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-22 13:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22 12:28 Proper use of remove and append Gary Thomas
2015-07-22 13:04 ` Burton, Ross
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.