qemu: Fix for machines without zlib headers/library installed
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
362d3886f5
commit
7556381792
|
@ -0,0 +1,13 @@
|
||||||
|
Index: git/configure
|
||||||
|
===================================================================
|
||||||
|
--- git.orig/configure 2009-05-24 11:12:34.000000000 +0100
|
||||||
|
+++ git/configure 2009-05-24 11:12:55.000000000 +0100
|
||||||
|
@@ -749,7 +749,7 @@
|
||||||
|
#include <zlib.h>
|
||||||
|
int main(void) { zlibVersion(); return 0; }
|
||||||
|
EOF
|
||||||
|
-if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $TMPC -lz > /dev/null 2> /dev/null ; then
|
||||||
|
+if $cc $CFLAGS $LDFLAGS $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $TMPC -lz > /dev/null 2> /dev/null ; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo
|
|
@ -1,6 +1,6 @@
|
||||||
require qemu_git.bb
|
require qemu_git.bb
|
||||||
require qemu-sdk.inc
|
require qemu-sdk.inc
|
||||||
|
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
|
|
||||||
EXTRA_OECONF +="--target-list=arm-linux-user,arm-softmmu,i386-softmmu --disable-vnc-tls"
|
EXTRA_OECONF +="--target-list=arm-linux-user,arm-softmmu,i386-softmmu --disable-vnc-tls"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
DEPENDS = "zlib"
|
DEPENDS = "zlib"
|
||||||
PV = "0.10.2+git${SRCREV}"
|
PV = "0.10.2+git${SRCREV}"
|
||||||
PR = "r0"
|
PR = "r1"
|
||||||
|
|
||||||
FILESPATH = "${FILE_DIRNAME}/qemu-${PV}/:${FILE_DIRNAME}/qemu-git/"
|
FILESPATH = "${FILE_DIRNAME}/qemu-${PV}/:${FILE_DIRNAME}/qemu-git/"
|
||||||
|
|
||||||
|
@ -18,7 +18,8 @@ SRC_URI = "\
|
||||||
file://workaround_bad_futex_headers.patch;patch=1 \
|
file://workaround_bad_futex_headers.patch;patch=1 \
|
||||||
file://qemu-add-gl-host-code.patch;patch=1 \
|
file://qemu-add-gl-host-code.patch;patch=1 \
|
||||||
file://no-strip.patch;patch=1 \
|
file://no-strip.patch;patch=1 \
|
||||||
file://fix-dirent.patch;patch=1"
|
file://fix-dirent.patch;patch=1 \
|
||||||
|
file://zlibsearch.patch;patch=1 "
|
||||||
|
|
||||||
# file://qemu-amd64-32b-mapping-0.9.0.patch;patch=1
|
# file://qemu-amd64-32b-mapping-0.9.0.patch;patch=1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue