Skip to contentSkip to conversation

Proper use of remove and append

DISCUSSION Gary Thomas 2 participants 2 messages Jul 22, 2015

lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 5 lines · Gary Thomas

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