]> code.ossystems Code Review - meta-freescale.git/commitdiff
qemu: add libssh2 options in configure
authorchunrong guo <b40290@freescale.com>
Thu, 29 May 2014 03:25:28 +0000 (03:25 +0000)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Tue, 3 Jun 2014 10:09:18 +0000 (18:09 +0800)
Hello all,

Fsl qemu will update 1.7 in July or June.
Fsl qemu 1.7  configure  options  support libssh2.
This patch will be retired when fsl qemu updates 1.7 .

thanks,
chunrong

-----Original Message-----
From: b40290@freescale.com [mailto:b40290@freescale.com]
Sent: Wednesday, May 28, 2014 6:08 PM
To: meta-freescale@yoctoproject.org
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290
Subject: [meta-fsl-ppc][PATCH v2 ] qemu: add libssh2 options in configure

From: Chunrong Guo <B40290@freescale.com>

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

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-ppc/recipes-devtools/qemu/files/add-libssh2-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-libssh2-options.patch b/meta-fsl-ppc/recipes-devtools/qemu/files/add-libssh2-options.patch
new file mode 100644 (file)
index 0000000..07b9350
--- /dev/null
@@ -0,0 +1,22 @@
+Upstream-Status: Inappropriate [configuration]
+
+Freescale qemu configure do not include libssh2 options.
+In order to configure pass , dummy libssh2 options is added to 
+freescale qemu configure
+
+Signed-off-by: Chunrong Guo <b40290@freescale.com>
+
+
+--- 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"
index 810794d5784c1585c437c8c3d34abbd54ab7aa08..eab3db5d3714ac694e1ced0bc37d597de10ee877 100644 (file)
@@ -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"