summaryrefslogtreecommitdiffstats
path: root/meta/packages/qemu
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-18 01:01:35 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-18 01:01:35 +0100
commit3831d44240722d5f37a1ee2818e3db6db0b98750 (patch)
tree30c7e42845d5aff8aee1195809ed09f871d80b3b /meta/packages/qemu
parent0eb35860736a05224e7f861d30736984257ddd5e (diff)
downloadpoky-3831d44240722d5f37a1ee2818e3db6db0b98750.tar.gz
qemu-nativesdk: Use HOST_CC to build parse_gl_h
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/qemu')
-rw-r--r--meta/packages/qemu/qemu-git/qemu-git-qemugl-host.patch2
-rw-r--r--meta/packages/qemu/qemu-nativesdk_git.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/packages/qemu/qemu-git/qemu-git-qemugl-host.patch b/meta/packages/qemu/qemu-git/qemu-git-qemugl-host.patch
index 3ad5c081f1..cfa0918162 100644
--- a/meta/packages/qemu/qemu-git/qemu-git-qemugl-host.patch
+++ b/meta/packages/qemu/qemu-git/qemu-git-qemugl-host.patch
@@ -18,7 +18,7 @@ index f33f762..d1eb876 100644
18 cpu-exec.o: CFLAGS += $(HELPER_CFLAGS) 18 cpu-exec.o: CFLAGS += $(HELPER_CFLAGS)
19 19
20+parse_gl_h: parse_gl_h.c 20+parse_gl_h: parse_gl_h.c
21+ $(CC) -g -o $@ $< 21+ $(HOST_CC) -g -o $@ $<
22+server_stub.c: parse_gl_h 22+server_stub.c: parse_gl_h
23+ ./parse_gl_h 23+ ./parse_gl_h
24+gl_func.h: parse_gl_h 24+gl_func.h: parse_gl_h
diff --git a/meta/packages/qemu/qemu-nativesdk_git.bb b/meta/packages/qemu/qemu-nativesdk_git.bb
index 9753d1522f..ae7fdfcfe7 100644
--- a/meta/packages/qemu/qemu-nativesdk_git.bb
+++ b/meta/packages/qemu/qemu-nativesdk_git.bb
@@ -3,6 +3,6 @@ require qemu-nativesdk.inc
3 3
4SRC_URI += "file://glflags.patch;patch=1" 4SRC_URI += "file://glflags.patch;patch=1"
5 5
6PR = "r3" 6PR = "r4"
7 7
8EXTRA_OECONF +="--target-list=arm-linux-user,arm-softmmu,i386-softmmu --disable-vnc-tls --cc=${HOST_PREFIX}gcc" 8EXTRA_OECONF +="--target-list=arm-linux-user,arm-softmmu,i386-softmmu --disable-vnc-tls --cc=${HOST_PREFIX}gcc"