All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemu: cflags concatination issue
@ 2012-07-27 11:47 Fahad Usman
  2012-07-27 12:48 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Fahad Usman @ 2012-07-27 11:47 UTC (permalink / raw)
  To: openembedded-core; +Cc: Fahad Usman

From: Fahad Usman <fahad_usman@mentor.com>

add patch to fix cflags concatination issue

Signed-off-by: Fahad Usman <fahad_usman@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
+ 
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
-- 
1.7.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] qemu: cflags concatination issue
  2012-07-27 11:47 [PATCH] qemu: cflags concatination issue Fahad Usman
@ 2012-07-27 12:48 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2012-07-27 12:48 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Fahad Usman

On Fri, 2012-07-27 at 16:47 +0500, Fahad Usman wrote:
> From: Fahad Usman <fahad_usman@mentor.com>
> 
> add patch to fix cflags concatination issue
> 
> Signed-off-by: Fahad Usman <fahad_usman@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-27 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-27 11:47 [PATCH] qemu: cflags concatination issue Fahad Usman
2012-07-27 12:48 ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.