mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
meta-oe: use bb.utils.contains() instead of base_contains()
base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
0e6cc19225
commit
cf1819332d
@@ -21,6 +21,6 @@ PACKAGECONFIG[libelf] = ",,elfutils"
|
||||
PACKAGECONFIG ?= "libelf"
|
||||
|
||||
EXTRA_OEMAKE = " \
|
||||
${@base_contains('PACKAGECONFIG', 'libelf', '', 'NO_LIBELF=1', d)} \
|
||||
${@base_contains('PACKAGECONFIG', 'ffi', 'FFI=1', '', d)} \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'libelf', '', 'NO_LIBELF=1', d)} \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'ffi', 'FFI=1', '', d)} \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user