]> code.ossystems Code Review - meta-freescale.git/commitdiff
qemu: remove unavailable configuration options
authorJosep Puigdemont <josep.puigdemont@enea.com>
Sat, 6 Sep 2014 10:45:01 +0000 (12:45 +0200)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Tue, 9 Sep 2014 09:17:50 +0000 (17:17 +0800)
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@enea.com>
meta-fsl-ppc/recipes-devtools/qemu/qemu_fslgit.bb

index 88e78b58cf96dafe136c1813f6d277390a5883a3..9e51056789dfaa52541bc00fbfc79659b2de9055 100644 (file)
@@ -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"