]> code.ossystems Code Review - meta-freescale.git/commitdiff
qemu: add gtk options in configure
authorChunrong Guo <B40290@freescale.com>
Thu, 12 Dec 2013 03:59:59 +0000 (11:59 +0800)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Sat, 14 Dec 2013 05:29:24 +0000 (13:29 +0800)
    * fix the following error:
    |ERROR: unknown option --disable-gtk

Signed-off-by: Chunrong Guo <B40290@freescale.com>
meta-fsl-ppc/recipes-devtools/qemu/files/add-gtk-options.patch [new file with mode: 0644]
meta-fsl-ppc/recipes-devtools/qemu/qemu_fslgit.bb

diff --git a/meta-fsl-ppc/recipes-devtools/qemu/files/add-gtk-options.patch b/meta-fsl-ppc/recipes-devtools/qemu/files/add-gtk-options.patch
new file mode 100644 (file)
index 0000000..d8522de
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/configure.old    2013-12-11 21:24:44.422276752 -0600
++++ b/configure        2013-12-11 21:27:26.954335983 -0600
+@@ -897,6 +897,10 @@
+   ;;
+   --enable-virtio-blk-data-plane) virtio_blk_data_plane="yes"
+   ;;
++  --disable-gtk) gtk="no"
++  ;;
++  --enable-gtk) gtk="yes"
++  ;;
+   *) echo "ERROR: unknown option $opt"; show_help="yes"
+   ;;
+   esac
index 356103d4eb3fabc4a0cca5e707074ef463f3a9ac..98c67ca1d4a8c1a2b781285ccb7ecc3596cfd1d6 100644 (file)
@@ -14,6 +14,7 @@ SRC_URI += " \
    file://0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch \
    file://0002-docs-Fix-generating-qemu-doc.html-with-texinfo-5.patch \
    file://fdt_header.patch \
+   file://add-gtk-options.patch \
 "
 
 S = "${WORKDIR}/git"