generic-poky/meta
Richard Purdie 3300065035 lib/oe/utils: 'Fix' oe.utils.contains() behaviour
Currently oe.utils.contains(X, "A", true, false) will return true for substring matches,
e.g. if X = "ABC". This is not what most users expect from the function.

In the common OE use of this function there is the case of "touchscreen" and "screen" being
used as independent variables. Whilst it could be argued there isn't a problem in that
specific case (touchscreens are usually on screens), there is no substring usage of this
function is OE-Core so this patch changes the behaviour to match only full strings.

It also fixes a bug where duplicate entries would confuse multiple matches, e.g.
contains(X, ["A", "B"], ...) would match X = "A A" which is clearly wrong.

(From OE-Core rev: 5c09cbe3bf456e968fc853827698eb18b62e8348)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-26 12:05:39 +01:00
..
classes bitbake.conf/classes: Variable cleanup 2011-07-25 14:36:30 +01:00
conf Move architecture specific TARGET_OS mangling into tune files 2011-07-25 14:36:30 +01:00
files classes/package.bbclass: Add fixup_perms 2011-06-30 22:54:04 +01:00
lib/oe lib/oe/utils: 'Fix' oe.utils.contains() behaviour 2011-07-26 12:05:39 +01:00
recipes-bsp pciutils: Change the hardcoded /usr/lib to support multilib. 2011-07-20 15:27:32 +01:00
recipes-connectivity openssl: Add handling for building on linux-powerpc64 2011-07-22 11:56:50 +01:00
recipes-core glib-2.0: fix a compilation issue due to dtrace 2011-07-22 11:51:05 +01:00
recipes-devtools perl-dynloader.patch: Fix multilib issue for perl 2011-07-25 14:36:30 +01:00
recipes-extended cpan.bbclass: Perform more mangling for perl path 2011-07-21 10:59:18 +01:00
recipes-gnome gnome-keyring 2.32.1: fix PAM support and make it conditional on DISTRO_FEATURES 2011-07-22 11:56:51 +01:00
recipes-graphics bitbake.conf/classes: Variable cleanup 2011-07-25 14:36:30 +01:00
recipes-kernel kern-tools: update SRCREV 2011-07-22 11:51:03 +01:00
recipes-multimedia flac: fix build issues with e500v2 (gnuspe) toolchain 2011-07-20 15:27:35 +01:00
recipes-qt Patches: Fix Upstream-Status info 2011-07-13 12:29:20 +01:00
recipes-sato pimlico/dates: Fix build on uclibc 2011-07-20 15:27:38 +01:00
recipes-support consolekit 0.4.5: fix PAM installation dir 2011-07-22 11:56:51 +01:00
site site/powerpc*-linux: refactor needed options that are common 2011-07-22 11:56:51 +01:00
COPYING.MIT Add missing licence files (COPYING.MIT) 2006-07-23 13:52:32 +00:00
recipes.txt Major layout change to the packages directory 2010-08-27 15:29:45 +01:00