summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp/conf/machine/genericx86.conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-09 12:47:21 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-26 11:29:46 +0100
commitd7571c0390d53bc9a481277944efae688eee0448 (patch)
treea256535acde11f066047dd515f670db0763a986a /meta-yocto-bsp/conf/machine/genericx86.conf
parent69aab78dd830b0ad570cf9b7bfe2da8e8b793e23 (diff)
downloadpoky-d7571c0390d53bc9a481277944efae688eee0448.tar.gz
bitbake: data_smart: Add _remove operator
There are long standing complaints about the fact its very difficult to remove a portion of a variable. The immediate request is for a -= and =- operator. The trouble is that += and =+ are "immediate" operators and are applied straight away. Most people would expect -= and =- to be deferred to have the effect most people desire and therefore implementing -= and =- would just make the situation more confusing. This deferred operation is much more similar to the override syntax which happens at data store finalisation. The _remove operator is therefore in keeping with the _append and _prepend operations. This code is loosely based on a patch from Peter Seebach although it has been rewritten to be simpler, more efficient and avoid some potential bugs. The code currently only works on space delimited variables, which are by far the most commom type. If bitbake is ehanced to support types natively in future, we can adjust this code to adapt to that. (Bitbake rev: 9c91948e10df278dad4832487fa56888cd58d187) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/conf/machine/genericx86.conf')
0 files changed, 0 insertions, 0 deletions