[OE-core] [PATCH] qemu: cflags concatination issue
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Jul 27 12:48:55 UTC 2012
On Fri, 2012-07-27 at 16:47 +0500, Fahad Usman wrote:
> From: Fahad Usman <fahad_usman at mentor.com>
>
> add patch to fix cflags concatination issue
>
> Signed-off-by: Fahad Usman <fahad_usman at mentor.com>
> ---
> .../qemu/qemu-0.15.1/cflags-separator.patch | 15 +++++++++++++++
> meta/recipes-devtools/qemu/qemu_0.15.1.bb | 3 ++-
> 2 files changed, 17 insertions(+), 1 deletions(-)
> create mode 100644 meta/recipes-devtools/qemu/qemu-0.15.1/cflags-separator.patch
>
> diff --git a/meta/recipes-devtools/qemu/qemu-0.15.1/cflags-separator.patch b/meta/recipes-devtools/qemu/qemu-0.15.1/cflags-separator.patch
> new file mode 100644
> index 0000000..9eb9c70
> --- /dev/null
> +++ b/meta/recipes-devtools/qemu/qemu-0.15.1/cflags-separator.patch
> @@ -0,0 +1,15 @@
> +---
> + configure | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +--- qemu-0.15.1.orig/configure
> ++++ qemu-0.15.1/configure
> +@@ -2550,7 +2550,7 @@ int main(int argc, char **argv)
> + }
> + EOF
> + if ! compile_prog "" "" ; then
> +- CFLAGS+="-march=i486"
> ++ CFLAGS+=" -march=i486"
> + fi
> + fi
> +
The patch is missing the Upstream-Status, author and description
information in the header.
Cheers,
Richard
> diff --git a/meta/recipes-devtools/qemu/qemu_0.15.1.bb b/meta/recipes-devtools/qemu/qemu_0.15.1.bb
> index 2cc59f6..6a4a1ec 100644
> --- a/meta/recipes-devtools/qemu/qemu_0.15.1.bb
> +++ b/meta/recipes-devtools/qemu/qemu_0.15.1.bb
> @@ -3,7 +3,7 @@ require qemu.inc
> LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
> file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913"
>
> -PR = "r9"
> +PR = "r10"
>
> FILESPATH = "${FILE_DIRNAME}/qemu-${PV}"
> FILESDIR = "${WORKDIR}"
> @@ -21,6 +21,7 @@ SRC_URI = "\
> file://a4d1f142542935b90d2eb30f3aead4edcf455fe6.patch \
> file://dummy-gl-config.patch \
> file://0001-ppc64-Fix-linker-script.patch \
> + file://cflags-separator.patch \
> "
>
> # Only use the GL passthrough patches for native/nativesdk versions
More information about the Openembedded-core
mailing list