summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-04-21 20:21:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-29 07:53:58 +0100
commit1a0e56630c5c27d8899dd0979ae0b86bbe227881 (patch)
tree7cfb079dc7c6a73134702fb4bd8397bb84f83146
parenta98acf4840fc4888c0f4b8998a0a3983c639ecc2 (diff)
downloadopenembedded-core-1a0e56630c5c27d8899dd0979ae0b86bbe227881.tar.gz
openembedded-core-1a0e56630c5c27d8899dd0979ae0b86bbe227881.tar.bz2
openembedded-core-1a0e56630c5c27d8899dd0979ae0b86bbe227881.zip
utils.bbclass: note for deprecated base_contains
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/utils.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index 81b92cb5eb..ce639b283e 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -24,6 +24,7 @@ def base_version_less_or_equal(variable, checkvalue, truevalue, falsevalue, d):
return oe.utils.version_less_or_equal(variable, checkvalue, truevalue, falsevalue, d)
def base_contains(variable, checkvalues, truevalue, falsevalue, d):
+ bb.note('base_contains is deprecated, please use bb.utils.contains instead.')
return bb.utils.contains(variable, checkvalues, truevalue, falsevalue, d)
def base_both_contain(variable1, variable2, checkvalue, d):