Skip to contentSkip to conversation

qemu: fix broken glflags.patch

PATCH Applied Ilya Yanok 2 participants 3 messages Apr 2, 2011 – Apr 4, 2011

lore
Share & tools
lore

Ilya Yanok

author
#0 lore raw

PATCH 1/2 qemu: fix broken glflags.patch

Current patch doesn't apply because of wrong file name.

---
 .../qemu/qemu-0.14.0/glflags.patch                 |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-devtools/qemu/qemu-0.14.0/glflags.patch +3 -3
index 99cc417..0a27c2d 100644
@@ -1,7 +1,7 @@
 Index: git/Makefile.target
 ===================================================================
---- git.orig/Makefile.target2010-05-27 12:35:26.000000000 -0400
-+++ git/Makefile.target2010-05-27 12:59:53.520415731 -0400
+--- git.orig/Makefile.target	2010-05-27 12:35:26.000000000 -0400
++++ git/Makefile.target	2010-05-27 12:59:53.520415731 -0400
 @@ -326,7 +326,7 @@ vl.o: qemu-options.h
  
  monitor.o: qemu-monitor.h
@@ -10,4 +10,4 @@ Index: git/Makefile.target
 +LIBS += -lGL
  
  ARLIBS=../libqemu_common.a libqemu.a $(HWLIB)
- 
\ No newline at end of file
+ 
Signature · 1 line
1.7.4
author
#1 lore raw

PATCH 2/2 qemu-nativesdk: fix do_configure

qemu 0.14 does not need --cross-prefix switch as it uses CC environment variables (and friends) which contains the cross prefix already.

---
 meta/recipes-devtools/qemu/qemu.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-devtools/qemu/qemu.inc +1 -1
index 0367f50..412bdfd 100644
@@ -40,6 +40,6 @@ do_configure() {
 SRC_URI_append_virtclass-nativesdk = " file://glflags.patch;patch=1"
 DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk qemugl-nativesdk"
 RDEPENDS_virtclass-nativesdk = "libsdl-nativesdk"
-EXTRA_OECONF_virtclass-nativesdk += "--target-list=${@get_qemu_target_list(d)} --disable-werror --disable-vnc-tls --cross-prefix=${TARGET_PREFIX}"
+EXTRA_OECONF_virtclass-nativesdk += "--target-list=${@get_qemu_target_list(d)} --disable-werror --disable-vnc-tls"
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
1.7.4
#2 lore raw

Re: [PATCH 2/2] qemu-nativesdk: fix do_configure

Quoted 7 lines · Ilya Yanok

qemu 0.14 does not need --cross-prefix switch as it uses CC environment variables (and friends) which contains the cross prefix already.

---
 meta/recipes-devtools/qemu/qemu.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard