mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 21:32:13 +02:00
gdk-pixbuf: clean up PACKAGECONFIG
PTEST_ENABLED is always false in native builds, so there's no need for an explict native override. Use ??= as that is the idiomatic way to assign to PACKAGECONFIG. (From OE-Core rev: 7d5682cb026dcb16aabbe02113c9635704bbccae) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f42421f09e
commit
5b29e82892
@@ -34,9 +34,8 @@ LIBV = "2.10.0"
|
||||
|
||||
GDK_PIXBUF_LOADERS ?= "png jpeg gif others"
|
||||
|
||||
PACKAGECONFIG = "${GDK_PIXBUF_LOADERS} \
|
||||
${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
|
||||
PACKAGECONFIG:class-native = "${GDK_PIXBUF_LOADERS}"
|
||||
PACKAGECONFIG ??= "${GDK_PIXBUF_LOADERS} \
|
||||
${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
|
||||
|
||||
PACKAGECONFIG[png] = "-Dpng=enabled,-Dpng=disabled,libpng"
|
||||
PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg"
|
||||
|
||||
Reference in New Issue
Block a user