aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-core
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-01-18 19:28:32 -0500
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-01-29 14:30:03 +0000
commit0b63fb7d228cec76d8080c75643feb98d6a7c909 (patch)
tree5592aae4cf68ed85e8aded977971fae8ac3e5ff9 /meta-agl-core
parent460793d40ef6c6b1031ac1157d88a24af85586ae (diff)
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: If9a52bad0657a04d7fc7da3ba15cd14be611ffd4 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit cc422ba11f0a18b830422d41e47ba85481daa258) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28420 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 <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-core')
-rw-r--r--meta-agl-core/recipes-devtools/qemu/qemu_%.bbappend1
-rw-r--r--meta-agl-core/recipes-devtools/qemu/qemu_aglcore.inc5
2 files changed, 6 insertions, 0 deletions
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)} \
+"