summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu.inc
Commit message (Collapse)AuthorAgeFilesLines
* qemu: Disable curl explicitly, its not in DEPENDSRichard Purdie2012-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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] (From OE-Core rev: 566ad643efd03db34b59a427f48ca55ce613cf89) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add fedora pkg names when build failedRobert Yang2012-03-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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] (From OE-Core rev: 246438582f8a23ce1847bae230bce07fbb3c6d15) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add glib-2.0 as dependsSaul Wold2012-02-281-1/+1
| | | | | | | (From OE-Core rev: 37a8655bd4b781985eb6b4e33f1847e997609f7b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: enable building qemu-nativesdk without x11Paul Eggleton2012-02-241-1/+2
| | | | | | | | | | | | Allow building for nativesdk with x11 removed from DISTRO_FEATURES by conditionally disabling qemugl (which requires X). Fixes [YOCTO #2020] (From OE-Core rev: 136b13eb6a682222e2af887d3247a61310476c70) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: explicitly disable kvm support for native without kvm headerPaul Eggleton2011-12-241-1/+1
| | | | | | | | | | | | 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). (From OE-Core rev: a922112e197925db47cf02682c08f3af2bc760b4) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: for native, do not fail if kvm is unavailablePaul Eggleton2011-12-151-2/+8
| | | | | | | | | | | 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. (From OE-Core rev: 8c21c71f005b601f58925e9912f2cf44127e291d) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: qemu-native also needs glib-2.0 nativeSaul Wold2011-10-141-1/+1
| | | | | | | (From OE-Core rev: 5cef819b71733b15066a0624c3d6404e9093890f) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: Add glib-2.0-nativesdk to qemu-nativesdk DEPENDSKhem Raj2011-10-141-1/+1
| | | | | | | | | QEMU starting version 0.15 needs glibc-2.0 (From OE-Core rev: 65f7ff79c5e1e98403a5968c5dbee405c316d55c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: modify search paths for libglAnders Darander2011-08-191-1/+1
| | | | | | | | | | 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. (From OE-Core rev: 32f74152dfe583f005c8654910b15cd7d0e3d421) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Make qemu buildable inside qemux86/qemuppc targetZhai Edwin2011-08-171-3/+2
| | | | | | | | | | | | | | 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. (From OE-Core rev: e744d4e2d33d914b2ca31be2d4eadab9fbcc3251) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Poke more paths for presence of libglKhem Raj2011-08-101-0/+1
| | | | | | | | | | | On ubuntu 11.10 libGL is not in /usr/lib/`uname -i`-linux-gnu/ directory so we search this dir too. (From OE-Core rev: ced947e989dfbca8055fe57e14207cb6f1357430) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Clean up various QA warnings, add approproate INSANE_SKIP for firmware ↵Richard Purdie2011-07-051-1/+10
| | | | | | | | | files, ensure files aren't stripped (From OE-Core rev: 1c43b7ea6152aaad42159ce8071a4014b00f75fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix Dependency and compatible machinesSaul Wold2011-05-181-3/+7
| | | | | | | | | | | 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 (From OE-Core rev: 1bedd7f3d73c2f9f179f4de4bfaea944a18e49b5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix non-sdl/opengl buildSaul Wold2011-04-281-0/+2
| | | | | | | (From OE-Core rev: 4b3e39a9dd491a8a6996fce8ed0d05074ea920f5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: disable sdl for target buildSaul Wold2011-04-241-2/+6
| | | | | | | | | | This allows qemu to build for the target in the world build. Not sure this would make sense to run on the target. (From OE-Core rev: 09a55b1d4354531afe692f2618bd4fa5bf2dec74) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-nativesdk: fix do_configureIlya Yanok2011-04-041-1/+1
| | | | | | | | | | qemu 0.14 does not need --cross-prefix switch as it uses CC environment variables (and friends) which contains the cross prefix already. (From OE-Core rev: c9ead26abae18397fcf0e07ff278bb9052d5b8f3) Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: Add sh4,sh4eb,mips64,mips64el targetsKhem Raj2011-03-311-3/+9
| | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 62ced6b84bf650ce4cf101491614613ec8fc17af) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: enabling the alsa driver needs alsa in DEPENDS, add itKoen Kooi2011-03-231-1/+1
| | | | | | | | | | | | | | 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>
* qemu: enable audio supportZhai Edwin2011-02-221-1/+1
| | | | | | | | | | 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>
* qemu: Enable KVM support on x86/x86-64 hostZhai Edwin2010-12-091-1/+1
| | | | | | | 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>
* qemu: Add license checksumZhai Edwin2010-12-021-1/+1
| | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* qemu: add qemu-mipsel to the list of simulatorsBruce Ashfield2010-09-101-2/+2
| | | | | | | 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>
* qemu: build qemu-x86-64 binary for use in locale generationJoshua Lock2010-09-021-1/+1
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* Add qemu-ppc in qemu-native, required by eglibcZhai Edwin2010-09-021-1/+1
| | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* Add qemu-i386 in qemu-native, required by eglibcZhai Edwin2010-08-311-1/+1
| | | | | | | | | 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>
* Major layout change to the packages directoryRichard Purdie2010-08-271-0/+39
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>