mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +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
@@ -42,12 +42,12 @@ RDEPENDS_${PN} = "\
|
||||
#
|
||||
RRECOMMENDS_${PN} = "\
|
||||
${MACHINE_EXTRA_RRECOMMENDS} \
|
||||
${@base_contains("MACHINE_FEATURES", "usbhost", "usbutils", "", d)} \
|
||||
${@base_contains("MACHINE_FEATURES", "alsa", "alsa-utils-alsamixer", "", d)} \
|
||||
${@base_contains("MACHINE_FEATURES", "usbgadget", "kernel-module-g-ether kernel-module-g-serial kernel-module-g-mass-storage", "", d)} \
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "usbhost", "usbutils", "", d)} \
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "alsa", "alsa-utils-alsamixer", "", d)} \
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "usbgadget", "kernel-module-g-ether kernel-module-g-serial kernel-module-g-mass-storage", "", d)} \
|
||||
\
|
||||
${@base_contains("DISTRO_FEATURES", "bluetooth", "${BLUEZ}", "", d)} \
|
||||
${@base_contains("DISTRO_FEATURES", "wifi", "iw wpa-supplicant", "", d)} \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "bluetooth", "${BLUEZ}", "", d)} \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "wifi", "iw wpa-supplicant", "", d)} \
|
||||
\
|
||||
tzdata \
|
||||
\
|
||||
|
||||
Reference in New Issue
Block a user