[meta-freescale] [meta-fsl-ppc][PATCH v2] qemu: remove unavailable configuration options

Josep Puigdemont josep.puigdemont at enea.com
Sat Sep 6 03:45:01 PDT 2014


The preferred version of qemu defined in this layer (1.7) does not have
the same configuration options as the original yocto version (2.0).
Since this recipe includes yocto's qemu.inc, some of the configuration
options defined there generate an error during the do_configure task:

| ERROR: unknown option --disable-lzo
| ERROR: unknown option --disable-numa
| ERROR: unknown option --disable-quorum

Setting PACKAGECONFIG[otion] to an empty string fixes the problem.

Addresses bug:
[YOCTO #6690]

Signed-off-by: Josep Puigdemont <josep.puigdemont at enea.com>
---
 recipes-devtools/qemu/qemu_fslgit.bb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/recipes-devtools/qemu/qemu_fslgit.bb b/recipes-devtools/qemu/qemu_fslgit.bb
index 88e78b5..9e51056 100644
--- a/recipes-devtools/qemu/qemu_fslgit.bb
+++ b/recipes-devtools/qemu/qemu_fslgit.bb
@@ -6,6 +6,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
 # This means QEMU v1.7 with FSL specific patches applied
 PV = "1.7+fsl"
 
+# NOTE: these options are note available in qemu 1.7, but qemu.inc assumes
+# version 2.0+ where they are available. For now we unset them, but we should
+# remove the following lines when upgrading to qemu 2.0+:
+PACKAGECONFIG[quorum] = ""
+PACKAGECONFIG[lzo]    = ""
+PACKAGECONFIG[numa]   = ""
+
 SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git;nobranch=1"
 SRCREV = "9e38e640275beabf6468a04cec5c403b2ac566ad"
 
-- 
1.9.3



More information about the meta-freescale mailing list