Patchwork [meta-fsl-ppc] qemu: add libssh2 options in configure

login
register
mail settings
Submitter chunrong guo
Date May 26, 2014, 5:31 a.m.
Message ID <1401082310-27304-1-git-send-email-b40290@freescale.com>
Download mbox | patch
Permalink /patch/72687/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

chunrong guo - May 26, 2014, 5:31 a.m.
From: Chunrong Guo <B40290@freescale.com>

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

Signed-off-by: Chunrong Guo <B40290@freescale.com>
---
 recipes-devtools/qemu/files/add-libssh2-options.patch | 13 +++++++++++++
 recipes-devtools/qemu/qemu_fslgit.bb                  |  1 +
 2 files changed, 14 insertions(+)
 create mode 100644 recipes-devtools/qemu/files/add-libssh2-options.patch
Otavio Salvador - May 26, 2014, 1:37 p.m.
On Mon, May 26, 2014 at 2:31 AM,  <b40290@freescale.com> wrote:
> From: Chunrong Guo <B40290@freescale.com>
>
>     * fix the following error:
>     |ERROR: unknown option --disable-libssh2
>
> Signed-off-by: Chunrong Guo <B40290@freescale.com>
> ---
>  recipes-devtools/qemu/files/add-libssh2-options.patch | 13 +++++++++++++
>  recipes-devtools/qemu/qemu_fslgit.bb                  |  1 +
>  2 files changed, 14 insertions(+)
>  create mode 100644 recipes-devtools/qemu/files/add-libssh2-options.patch
>
> diff --git a/recipes-devtools/qemu/files/add-libssh2-options.patch b/recipes-devtools/qemu/files/add-libssh2-options.patch
> new file mode 100644
> index 0000000..2eab6de
> --- /dev/null

Please include the header information and Upstream-Status header.

> +++ b/recipes-devtools/qemu/files/add-libssh2-options.patch
> @@ -0,0 +1,13 @@
> +--- a/configure.old    2014-05-26 12:08:09.000000000 +0800
> ++++ b/configure        2014-05-26 12:10:23.000000000 +0800
...

Patch

diff --git a/recipes-devtools/qemu/files/add-libssh2-options.patch b/recipes-devtools/qemu/files/add-libssh2-options.patch
new file mode 100644
index 0000000..2eab6de
--- /dev/null
+++ b/recipes-devtools/qemu/files/add-libssh2-options.patch
@@ -0,0 +1,13 @@ 
+--- a/configure.old	2014-05-26 12:08:09.000000000 +0800
++++ b/configure	2014-05-26 12:10:23.000000000 +0800
+@@ -897,6 +897,10 @@
+   ;;
+   --enable-virtio-blk-data-plane) virtio_blk_data_plane="yes"
+   ;;
++  --disable-libssh2) libssh2="no"
++  ;;
++  --enable-libssh2) libssh2="yes"
++  ;;
+   --disable-gtk) gtk="no"
+   ;;
+   --enable-gtk) gtk="yes"
diff --git a/recipes-devtools/qemu/qemu_fslgit.bb b/recipes-devtools/qemu/qemu_fslgit.bb
index 810794d..eab3db5 100644
--- a/recipes-devtools/qemu/qemu_fslgit.bb
+++ b/recipes-devtools/qemu/qemu_fslgit.bb
@@ -14,6 +14,7 @@  SRC_URI += " \
    file://0002-docs-Fix-generating-qemu-doc.html-with-texinfo-5.patch \
    file://fdt_header.patch \
    file://add-gtk-options.patch \
+   file://add-libssh2-options.patch \
 "
 
 S = "${WORKDIR}/git"