From a3389597a82dbe2c62b4d56c24de435cda342c2d Mon Sep 17 00:00:00 2001 From: Chunrong Guo Date: Thu, 12 Dec 2013 11:59:59 +0800 Subject: [PATCH] qemu: add gtk options in configure * fix the following error: |ERROR: unknown option --disable-gtk Signed-off-by: Chunrong Guo --- .../qemu/files/add-gtk-options.patch | 13 +++++++++++++ meta-fsl-ppc/recipes-devtools/qemu/qemu_fslgit.bb | 1 + 2 files changed, 14 insertions(+) create mode 100644 meta-fsl-ppc/recipes-devtools/qemu/files/add-gtk-options.patch 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 index 00000000..d8522deb --- /dev/null +++ b/meta-fsl-ppc/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/meta-fsl-ppc/recipes-devtools/qemu/qemu_fslgit.bb b/meta-fsl-ppc/recipes-devtools/qemu/qemu_fslgit.bb index 356103d4..98c67ca1 100644 --- a/meta-fsl-ppc/recipes-devtools/qemu/qemu_fslgit.bb +++ b/meta-fsl-ppc/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" -- 2.40.1