From: Scott Murray Date: Thu, 19 Jan 2023 00:28:32 +0000 (-0500) Subject: qemu: add bbappend to tweak PACKAGECONFIG X-Git-Tag: 14.0.3~1 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=cc422ba11f0a18b830422d41e47ba85481daa258;p=AGL%2Fmeta-agl.git qemu: add bbappend to tweak PACKAGECONFIG Add a bbappend for qemu to tweak PACKAGECONFIG for target use to add libusb support. This is required for USB device passthrough for e.g. touchscreen support. Also enable libaio for potential performance benefits and selinux support for investigation into leveraging it for security improvement. Bug-AGL: SPEC-4618 Change-Id: Ib6bc09778b8f93c06c35d2763012b7f6dce99fc9 Signed-off-by: Scott Murray Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28395 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- diff --git a/meta-agl-core/recipes-devtools/qemu/qemu_%.bbappend b/meta-agl-core/recipes-devtools/qemu/qemu_%.bbappend new file mode 100644 index 000000000..980783236 --- /dev/null +++ b/meta-agl-core/recipes-devtools/qemu/qemu_%.bbappend @@ -0,0 +1 @@ +require ${@bb.utils.contains('AGL_FEATURES', 'aglcore', '${BPN}_aglcore.inc', '', d)} diff --git a/meta-agl-core/recipes-devtools/qemu/qemu_aglcore.inc b/meta-agl-core/recipes-devtools/qemu/qemu_aglcore.inc new file mode 100644 index 000000000..77d461a7f --- /dev/null +++ b/meta-agl-core/recipes-devtools/qemu/qemu_aglcore.inc @@ -0,0 +1,5 @@ +PACKAGECONFIG:append = " \ + aio \ + libusb \ + ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)} \ +"