From: Chunrong Guo <[email protected]>

    * fix the following error:
    |ERROR: unknown option --disable-gtk

Signed-off-by: Chunrong Guo <[email protected]>
---
 recipes-devtools/qemu/files/add-gtk-options.patch |   13 +++++++++++++
 recipes-devtools/qemu/qemu_fslgit.bb              |    1 +
 2 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 recipes-devtools/qemu/files/add-gtk-options.patch

diff --git a/recipes-devtools/qemu/files/add-gtk-options.patch 
b/recipes-devtools/qemu/files/add-gtk-options.patch
new file mode 100644
index 0000000..d8522de
--- /dev/null
+++ b/recipes-devtools/qemu/files/add-gtk-options.patch
@@ -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
diff --git a/recipes-devtools/qemu/qemu_fslgit.bb 
b/recipes-devtools/qemu/qemu_fslgit.bb
index 356103d..98c67ca 100644
--- a/recipes-devtools/qemu/qemu_fslgit.bb
+++ b/recipes-devtools/qemu/qemu_fslgit.bb
@@ -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"
-- 
1.7.5.4


_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to