From 1a0e56630c5c27d8899dd0979ae0b86bbe227881 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 21 Apr 2016 20:21:22 -0700 Subject: utils.bbclass: note for deprecated base_contains Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- meta/classes/utils.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta') 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): -- cgit v1.2.3