summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/qemu/qemu.inc
AgeCommit message (Collapse)AuthorFiles
2012-11-02recipes-devtools: replace virtclass-native(sdk) with class-native(sdk)Robert Yang1
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18qemu: Explicitly disable bluez, its not in DEPENDSRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18qemu: add libexecdir to configure callSaul Wold1
This address the following when libexecdir is not set to /usr/libexec WARNING: QA Issue: qemu: Files/directories were installed but not shipped /usr/libexec /usr/libexec/qemu-bridge-helper /usr/libexec/.debug /usr/libexec/.debug/qemu-bridge-helper Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-31nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie1
As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-20qemu-0.15: Drop GL passthrough supportRichard Purdie1
These patches are a maintenance nightmare and impacting our abaility to keep up to date with qemu. They are also a source of various bugs. Remove them until someone is willing to step up and maintain them, or upstream gains GL support. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-13qemu.inc: disable curl for qemu-nativesdkRobert Yang1
We had added the --disable-curl to EXTRA_OECONF, but there is an EXTRA_OECONF_virtclass-nativesdk += "foo", the "EXTRA_OECONF_virtclass-nativesdk +=" equals to "EXTRA_OECONF_virtclass-nativesdk =" (the "+" has no effect here), so we should add the "--disable-curl" to EXTRA_OECONF_virtclass-nativesdk. And change the "+=" to "=" to not confuse people. [YOCTO #2305] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18qemu-nativesdk: fix the build failure that linux/kvm.h not foundYao Zhao1
qemu.inc: on older kernel build hosts that have < 2.6.20 which doesn't support kvm yet, build will fail. Add a check in do_configure to make sure whether linux/kvm.h exists for nativesdk build. Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17qemu: Explicitly add --disable-gl-accel when gl is not enabledKhem Raj1
Default seems to be to enable GL accelaration so when gl is not specified in PACKAGECONFIG then add the --disable-gl-accel to really disable it. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-25qemu.inc: Fix packageconfig optionsKhem Raj1
--{en|dis}able-gl-accel is spcefic to gl patches in 0.15.1 which may not be available for other qemu's so if someone chooses to remove gl from PACKAGECONFIG then we dont explicitly use the --disable-gl-accel option since this wont be recognised by configure. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-30qemu: Add an option to remove host sdl/gl checkingZhai Edwin1
Add an PACKAGECONFIG in qemu to disable GL acceleration: * By default configure try best to enable GL acceleration and fail when missing host dependency(libSDL and libGL). * End user can also choose to turn off GL capability, thus remove the host dependence in building. [YOCTO #2407] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-24qemu: disable vnc-jpeg compressionSaul Wold1
This is disabled by default to ensure a deterministic build, qemu configure would sometimes detect the libjpeg and then enable this. Since mostly qemu is used locally disable by default. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-04-17qemu: Disable curl explicitly, its not in DEPENDSRichard Purdie1
There is an error when build meta-toolchain-sdk on Ubuntu 10.10: | Installing NATIVESDK packages | Processing task-sdk-host-nativesdk... | Processing task-cross-canadian-mips... | error: Failed dependencies: | libcurl.so.4 is needed by qemu-nativesdk-0.15.1-r5.i686 NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed ERROR: Task 21 (/buildarea2/lyang1/poky/meta/recipes-core/meta/meta-toolchain-gmae.bb, do_populate_sdk) failed with exit code '1' This is because qemu would depend on curl if it happened to be available at build time and could confuse the -native and -nativesdk librbaries. [YOCTO #2305] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-26qemu: add fedora pkg names when build failedRobert Yang1
When qemu build failed, we can see such messages: 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 These pkgs have different names on Fedora distributions, and Fedora is one the main linux distributions, so add Fedora package names. The following Fedora versions have these pkgs: Fedora 9 64bit Fedora 13 32bit Fedora 13 64bit Fedora 16 64bit [YOCTO #2174] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-28qemu: Add glib-2.0 as dependsSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-02-24qemu: enable building qemu-nativesdk without x11Paul Eggleton1
Allow building for nativesdk with x11 removed from DISTRO_FEATURES by conditionally disabling qemugl (which requires X). Fixes [YOCTO #2020] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-23qemu: explicitly disable kvm support for native without kvm headerPaul Eggleton1
Addendum to previous fix - instead of just not specifying --enable-kvm, explicitly specify --disable-kvm when building native version and kvm header is unavailable. Fixes reported do_configure failure on earlier CentOS 5.x versions (e.g. 5.4). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-15qemu: for native, do not fail if kvm is unavailablePaul Eggleton1
When building qemu-native, if the linux kvm header is unavailable (as it is on CentOS 5.x 32-bit) then do not pass the --enable-kvm switch to the configure script, thus avoiding failed do_configure. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-10-14qemu.inc: qemu-native also needs glib-2.0 nativeSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-10-14qemu.inc: Add glib-2.0-nativesdk to qemu-nativesdk DEPENDSKhem Raj1
QEMU starting version 0.15 needs glibc-2.0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-08-19qemu: modify search paths for libglAnders Darander1
On e.g. Debian libql is found under /usr/lib/x86_64-linux-gnu/libGL.so. Use a wildcard to match different locations, as uname -i only return unknown on Debian. Signed-off-by: Anders Darander <anders@chargestorm.se>
2011-08-16qemu: Make qemu buildable inside qemux86/qemuppc targetZhai Edwin1
It requires libx11 and libGL(if enabled GL) for building, which introduce extra dependence in qemuppc target. Futhermore, qemu's GL code is x86-oriented, thus some hacks needed for building in qemupcc. For simplicity, just make qemu GL's code for native only, so that qemu building is okay in world build. [YOCTO #1011] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-08-09qemu: Poke more paths for presence of libglKhem Raj1
On ubuntu 11.10 libGL is not in /usr/lib/`uname -i`-linux-gnu/ directory so we search this dir too. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-05qemu: Clean up various QA warnings, add approproate INSANE_SKIP for firmware ↵Richard Purdie1
files, ensure files aren't stripped Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-18qemu: Fix Dependency and compatible machinesSaul Wold1
add DEFAULT_PREFERENCE = "-1" to disable git recipe Added libx11 for GL support to DEPENDS Use BROKEN to disable qemuarm and qemumips world build of qemu target Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-04-28qemu: Fix non-sdl/opengl buildSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-04-22qemu: disable sdl for target buildSaul Wold1
This allows qemu to build for the target in the world build. Not sure this would make sense to run on the target. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-04-04qemu-nativesdk: fix do_configureIlya Yanok1
qemu 0.14 does not need --cross-prefix switch as it uses CC environment variables (and friends) which contains the cross prefix already. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-31qemu.inc: Add sh4,sh4eb,mips64,mips64el targetsKhem Raj1
In order to leavarage more emulations in oe-core these targets needs to be built as well Introduce new variable QEMU_TARGETS which can be set by user to decide what all machine support should be build into qemu-native This one works adding same to qemu.inc does not parse presumably a bitbake problem. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-03-21qemu: enabling the alsa driver needs alsa in DEPENDS, add itKoen Kooi1
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. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-22qemu: enable audio supportZhai Edwin1
On qemux86, export ac97 & es1370 emulated device to guest, and enable host oss&alsa driver. So end user can get sound from qemux86 guest if the sound card driver installed. [BUGID #488] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-12-09qemu: Enable KVM support on x86/x86-64 hostZhai Edwin1
User need build kvm module for native kernel and install them by "modprobe kvm_intel". Then add "kvm" option to poky-qemu to enable it. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-12-02qemu: Add license checksumZhai Edwin1
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-09-10qemu: add qemu-mipsel to the list of simulatorsBruce Ashfield1
Add qemu-mipsel to the list of generated simulators. Obviously this is needed to build a MIPS little endian system. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-09-02qemu: build qemu-x86-64 binary for use in locale generationJoshua Lock1
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-09-02Add qemu-ppc in qemu-native, required by eglibcZhai Edwin1
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-08-31Add qemu-i386 in qemu-native, required by eglibcZhai Edwin1
Adding i386-linux-user in target-list is enough in theory, but our gl stuff is not friendly to linux-user code. So disable it when compiling linux-user. [BUGID #218] fixed by this. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-08-27Major layout change to the packages directoryRichard Purdie1
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>