mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
recipes: Make use of the new bb.utils.filter() function
(From OE-Core rev: 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
dec5650bc2
commit
254bfb1071
@@ -10,7 +10,7 @@ EXTRA_OEMAKE_append_libc-musl = "\
|
||||
"
|
||||
|
||||
do_configure_prepend() {
|
||||
if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" ]; then
|
||||
if [ "${@bb.utils.filter('PACKAGECONFIG', 'python', d)}" ]; then
|
||||
cat > ${WORKDIR}/python << EOF
|
||||
#!/bin/sh
|
||||
case "\$2" in
|
||||
|
||||
Reference in New Issue
Block a user