2010-05-28 08:13:03 +00:00
|
|
|
DESCRIPTION = "open source processor emulator"
|
|
|
|
HOMEPAGE = "http://qemu.org"
|
2010-11-26 15:58:15 +00:00
|
|
|
LICENSE = "GPLv2 & LGPLv2.1"
|
qemu: enabling the alsa driver needs alsa in DEPENDS, add it
This fixes:
| + /OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/qemu-native-0.13.0-r1/qemu-0.13.0/configure --prefix=/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr --target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm --audio-drv-list=oss,alsa --audio-card-list=ac97,es1370
|
| Error: alsa check failed
| Make sure to have the alsa libs and headers installed.
(From OE-Core rev: 6d186d7144c781ee1985654e808f39ce2f6b1be7)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-21 09:38:40 +00:00
|
|
|
DEPENDS = "zlib alsa-lib"
|
2010-05-28 08:13:03 +00:00
|
|
|
|
2011-02-22 01:58:11 +00:00
|
|
|
EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm --audio-drv-list=oss,alsa --audio-card-list=ac97,es1370"
|
2010-05-28 08:13:03 +00:00
|
|
|
#EXTRA_OECONF += "--disable-sdl"
|
|
|
|
|
|
|
|
inherit autotools
|
|
|
|
|
|
|
|
# For our gl powered QEMU you need libGL and SDL headers
|
|
|
|
do_configure_prepend_virtclass-native() {
|
|
|
|
libgl='no'
|
|
|
|
libsdl='no'
|
|
|
|
|
|
|
|
test -e /usr/lib/libGL.so -a -e /usr/lib/libGLU.so && libgl='yes'
|
|
|
|
test -e /usr/lib64/libGL.so -a -e /usr/lib64/libGLU.so && libgl='yes'
|
|
|
|
|
2010-08-26 18:49:37 +00:00
|
|
|
test -e /usr/lib/pkgconfig/sdl.pc -o -e /usr/lib64/pkgconfig/sdl.pc -o -e /usr/include/SDL/SDL.h && libsdl='yes'
|
|
|
|
|
2010-05-28 08:13:03 +00:00
|
|
|
|
|
|
|
if [ "$libsdl" != 'yes' -o "$libgl" != 'yes' ]; then
|
|
|
|
echo "You need libGL.so and libGLU.so to exist in your library path and the development headers for SDL installed to build qemu-native.
|
|
|
|
Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and libsdl1.2-dev"
|
|
|
|
exit 1;
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
${S}/configure --prefix=${prefix} ${EXTRA_OECONF}
|
|
|
|
chmod a+x ${S}/target-i386/beginend_funcs.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
SRC_URI_append_virtclass-nativesdk = " file://glflags.patch;patch=1"
|
|
|
|
DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk qemugl-nativesdk"
|
|
|
|
RDEPENDS_virtclass-nativesdk = "libsdl-nativesdk"
|
2010-09-09 19:18:11 +00:00
|
|
|
EXTRA_OECONF_virtclass-nativesdk = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu,x86_64-softmmu,mips-linux-user,mipsel-linux-user,mips-softmmu,ppc-softmmu --disable-vnc-tls --cross-prefix=${TARGET_PREFIX}"
|
2010-05-28 08:13:03 +00:00
|
|
|
|
2010-06-10 11:04:22 +00:00
|
|
|
BBCLASSEXTEND = "native nativesdk"
|