aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-04-21 20:21:22 -0700
committerRobert Yang <liezhi.yang@windriver.com>2016-04-22 07:31:13 -0700
commitf40c3c6deadc706f440b22b1e73cc9207b5cd4a5 (patch)
tree2e605ae248a029dfeb1bf5d734f268a41c7354a4
parentb77ea90fb150b3ab611c18dd5b51d868be1dde02 (diff)
downloadopenembedded-core-contrib-rbt/warn.tar.gz
openembedded-core-contrib-rbt/warn.tar.bz2
openembedded-core-contrib-rbt/warn.zip
utils.bbclass: note for deprecated base_containsrbt/warn
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-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):