summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu
diff options
context:
space:
mode:
authorRobert Joslyn <robert.joslyn@redrectangle.org>2019-04-20 15:05:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-23 23:30:19 +0100
commit0573bf6b872e7523ba32010bb76a9fb54d3647bc (patch)
treeae0db56789038b3c9e2eac2bcc2cd34a35fef921 /meta/recipes-devtools/qemu
parent18e6026b6f776812b0b42deffd0e1a9e885c662a (diff)
downloadpoky-0573bf6b872e7523ba32010bb76a9fb54d3647bc.tar.gz
qemu: Add PACKAGECONFIG for snappy
In addition to toggling libsnappy support, this allows a qemu-native build to explicitly disable snappy support. When building qemu-native, the configure script will detect libsnappy on the build machine and improperly enable snappy support. This can corrupt the sstate cache if the cache is populated with a qemu-native build with snappy improperly enabled, and the cached qemu-native gets used on another build machine that does not have libsnappy. (From OE-Core rev: ceda00d3f918834c2e20983f0231abedb778e65c) Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index e503aa866d..13f0549c25 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -165,5 +165,6 @@ PACKAGECONFIG[virglrenderer] = "--enable-virglrenderer,--disable-virglrenderer,v
165PACKAGECONFIG[spice] = "--enable-spice,--disable-spice,spice" 165PACKAGECONFIG[spice] = "--enable-spice,--disable-spice,spice"
166# usbredir will be in meta-networking layer 166# usbredir will be in meta-networking layer
167PACKAGECONFIG[usb-redir] = "--enable-usb-redir,--disable-usb-redir,usbredir" 167PACKAGECONFIG[usb-redir] = "--enable-usb-redir,--disable-usb-redir,usbredir"
168PACKAGECONFIG[snappy] = "--enable-snappy,--disable-snappy,snappy"
168 169
169INSANE_SKIP_${PN} = "arch" 170INSANE_SKIP_${PN} = "arch"