From 1449b0a14fbf30e8011e775d8bd9e7eb5b518d9d Mon Sep 17 00:00:00 2001 From: Chunrong Guo Date: Thu, 12 Dec 2013 11:59:59 +0800 Subject: qemu: add gtk options in configure * fix the following error: |ERROR: unknown option --disable-gtk Signed-off-by: Chunrong Guo --- recipes-devtools/qemu/files/add-gtk-options.patch | 13 +++++++++++++ recipes-devtools/qemu/qemu_fslgit.bb | 1 + 2 files changed, 14 insertions(+) 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" -- cgit v1.2.3-54-g00ecf