mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
Globally replace 'base_contains' calls with 'bb.utils.contains'
The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
08a38a7865
commit
4c14b09498
@@ -17,7 +17,7 @@ SRC_URI[sha256sum] = "f492291f07a7c805c07a8395cce1ea054a6401ad414f4cc12185672215
|
||||
inherit autotools ptest
|
||||
RDEPENDS_${PN}-ptest += "make"
|
||||
|
||||
PACKAGECONFIG_class-target ?= "libaio ${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
|
||||
PACKAGECONFIG_class-target ?= "libaio ${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
|
||||
|
||||
PACKAGECONFIG[libaio] = "--enable-aio,--disable-aio,libaio"
|
||||
PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl"
|
||||
|
||||
Reference in New Issue
Block a user