summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu.inc
Commit message (Collapse)AuthorAgeFilesLines
...
* qemu: Upgrade to 2.8.0Aníbal Limón2017-02-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Added patches: - target-ppc-fix-user-mode.patch Rebased patches: - exclude-some-arm-EABI-obsolete-syscalls.patc Removed patches (already in upstream): - 0003-fix-CVE-2016-7908.patch - 0004-fix-CVE-2016-7909.patch - 0001-target-mips-add-24KEc-CPU-definition.patch Changelog, http://wiki.qemu.org/ChangeLog/2.8 (From OE-Core rev: ab7eb1c896e4ba38b6c16acae3d25534296f62b8) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Upgrade to 2.7.1Aníbal Limón2017-01-231-2/+0
| | | | | | | | | | | | | | | | Minor upgrade contains fixes from 2.7.0. Removed patches (already in upstream): - 0001-pci-assign-sync-MSI-MSI-X-cap-and-table-with-PCIDevi.patch - 0001-virtio-zero-vq-inuse-in-virtio_reset.patch - 0002-fix-CVE-2016-7423.patch (From OE-Core rev: 0f29bd2c267efcb0087d73c38202ba233af636fd) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix: cp command cannot find tests/MakeflieJianxun Zhang2016-09-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | bitbake qemu This error shows up: ERROR: qemu-2.7.0-r1 do_install_ptest_base: Function failed: do_install_ptest_base ... cp: cannot stat '...tmp/work/core2-64-poky-linux/qemu/2.7.0-r1 /qemu-2.7.0/tests/Makefile: No such file or directory ... Commit 46e7b70699d8bf4db08c8bb5111974318dd5416d in qemu project renamed tests/Makefile to tests/Makefile.include, we apply the same change in recipe accordingly to fix this issue. Fixes [YOCTO #10245] (From OE-Core rev: 7009a9309051061455fa7237e09796ef12c9e308) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add patch to add mips 24KEc CPU definitionAndré Draszik2016-08-011-0/+1
| | | | | | | | | | | This patch has been accepted upstream: http://lists.nongnu.org/archive/html/qemu-devel/2016-07/msg05778.html (From OE-Core rev: b89bd412a69bfda262ed795e970b362ddbec6c68) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add PACKAGECONFIG stanza for bzip2Ross Burton2016-07-011-0/+1
| | | | | | | | | This is just for reading bzip-compressed DMG files, so disable it by default. (From OE-Core rev: 0aad5d1888549a134968f7f6d0c9d64b3e158e1e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Use Gtk+3, add configure patch to find vteJussi Kukkonen2016-06-231-1/+1
| | | | | | | | (From OE-Core rev: 0474412a1d2b6b8a35931bb03fa58e31a48133e1) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-native: set ld.bfd, fix cflags, and set some environment varsStephen Arnold2016-06-151-2/+11
| | | | | | | | | | | | | The main thing is build failures with gold linker, but qemu is also a little too aggressive at finding random tools on the build host, so we also set the build env for qemu-native and make sure it doesn't reset its own (hard-coded) cflags when we don't want it to. (From OE-Core rev: 862c9cbbef1f17b57c0ea369d88194b60623ffdd) Signed-off-by: Stephen Arnold <sarnold@vctlabs.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: remove runtime python dependencyAlexander Kanavin2016-06-011-1/+1
| | | | | | | | | Nothing seems to require it. (From OE-Core rev: 1c8cdcd1f4e80562f5c1804860ce8e1f62ecf134) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: remove explicit but redundant native build dependenciesRoss Burton2016-05-061-3/+2
| | | | | | | | | | | | | | qemu-native was optionally depending on libxext-native if the DISTRO_FEATURES included x11. This dependency was required back when we didn't build libsdl-native and causes an undesirable relationship between DISTRO_FEATURES and qemu-native. As the dependency isn't required anymore, remove it. (From OE-Core rev: f58f364b1ae97805abc5f9eb7b300617f59826b2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add PACKAGECONFIG for Nettle crypto supportRoss Burton2015-12-281-0/+1
| | | | | | | (From OE-Core rev: 0565377851bf73be39b09b06b2aa630f2225eee3) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: upgrade to 2.5.0Cristian Iorga2015-12-281-3/+2
| | | | | | | | | | | | | | - cpus.c-qemu_mutex_lock_iothread-fix-race-condition-a.patch removed, included upstream; - smc91c111_fix*.patch patches removed, included upstream; - trace-remove-malloc-tracing.patch patch removed, included upstream; - some configure options disappeared or changed name, updated. (From OE-Core rev: 11b14e80ac484df24459ef67746684bd49d1fbd8) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "qemu-native: Enable temporary debug info as default."Aníbal Limón2015-10-071-3/+0
| | | | | | | | | | | | | We enabled qemu-native debug builds for debug [YOCTO #8143] now is fixed and we don't need it for release. This reverts commit 1fa9a0cc6e4c80a5a2bf40331390ae9da71686c2. (From OE-Core rev: 727e24f9d7818929a4777338fadbb5a431273fe6) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Drop BROKEN usageRichard Purdie2015-10-011-5/+0
| | | | | | | | | BROKEN support was removed from bitbake back in 2013. These lines just increase parsing time, remove them. (From OE-Core rev: 140249a43eb7a36d09d55e7e633b502ddc345f90) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix qemu_cpu_kick_thread on initAníbal Limón2015-09-041-0/+1
| | | | | | | | | | | | | | When QEMU starts the RCU thread executes qemu_mutex_lock_thread causing error "qemu:qemu_cpu_kick_thread: No such process" and exits. For detail explanation see upstream patch. [YOCTO #8143] (From OE-Core rev: e4bbd98bf9648bbf3ffa7c4338f2302a92a413ef) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: enable alsa only if in DISTRO_FEATURESJosep Puigdemont2015-09-031-1/+2
| | | | | | | (From OE-Core rev: 060202cbfba0643cc4828bbc3d8099564578c584) Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-native: Enable temporary debug info as default.Aníbal Limón2015-08-291-0/+3
| | | | | | | | | | | | | | | We recently enable backtrace print rev[1] for address qemu_cpu_kick_thread() issue but without debug information isn't useful. [YOCTO #8143] [1] 73a876e4ff04ebbbcd3bde62efe02146ab601e25 (From OE-Core rev: 61b1e0e0b8dfde68b709446c2f406a797881d051) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-native: Add debugging when qemu fails with qemu_cpu_kick_threadAníbal Limón2015-08-161-0/+1
| | | | | | | | | | | | | | | | We are expecting some random failures in QEMU runs one of this is related to qemu_cpu_kick_thread that ends on exit(1) on qemu. To improve debug information add patch that prints the backtrace and the status of qemu cpu. [YOCTO #8143] (From OE-Core rev: c9dd8fae8fd799f0f64328606904e047ed8ee9c3) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add ptest sub-packageKai Kang2015-08-101-1/+15
| | | | | | | | | Add sub-package ptest which runs all unit tests cases for qemu. (From OE-Core rev: a79435797ee60f5858c952646f864c04113e5803) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add PACKAGECONFIG for gnutlsRobert Yang2015-07-311-0/+1
| | | | | | | | | | | | Fixed: qemu-2.3.99+2.4.0-rc2: qemu rdepends on nettle, but it isn't a build dependency? [build-deps] qemu-2.3.99+2.4.0-rc2: qemu rdepends on gnutls, but it isn't a build dependency? [build-deps] (From OE-Core rev: d6bb44d879254fb94b74662078f269942ee0a3af) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: upgrade to 2.4.0-rc0Cristian Iorga2015-07-161-3/+0
| | | | | | | | | | | | | | | | - Get rid of direct use of gnutls APIs in quorum blockdrv in favour of using the crypto APIs. - Convert VNC websockets to use crypto APIs. - quorum and vnc-ws packageconfig options no longer exist, removed. - All previous CVE are now included. - larger_default_ram_size.patch patch removed, no longer necessary. (From OE-Core rev: ff384c084678dab33bbd7eb82ece21a2baa13dfb) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: remove invalid sed commandRobert Yang2015-07-121-10/+0
| | | | | | | | | | | | The sed command was used for editting to code added by linker-flags.patch, but the patch had been gone in 2013, and verified that there is no -lX11 in Makefile.target, so remove the sed command. (From OE-Core rev: 69dabec0b1c72069290d7d1689d39dd386af4705) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add support for UUIDJuro Bystricky2015-06-111-1/+1
| | | | | | | | | | | | Native qemu is used to to create VMDK and VDI images. VDI images need support for UUID, otherwise the resulting image will not boot. (From OE-Core rev: abd4f4987b3ca15e92aafffff0e9a37ea9df081c) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: upgrade to 2.3.0Cristian Iorga2015-05-071-1/+1
| | | | | | | | | | | | | | Qemu-Arm-versatilepb-Add-memory-size-checking.patch brought up to date; 37ed3bf1ee07bb1a26adca0df8718f601f231c0b.patch removed, integrated upstream; glx enable config option changed to opengl enable, update accordingly. (From OE-Core rev: b88e3808533a7280c85e570a1359efcba8dcc4bd) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Update PACKAGECONFIG[xen] and add xen to defaultsNathan Rossi2015-02-141-2/+5
| | | | | | | | | | | | * Add build and runtime dependencies for PACKAGECONFIG[xen] * Add xen as a default PACKAGECONFIG option when it is part of DISTRO_FEATURES (From OE-Core rev: d3c82cd6019ad43af489fdc518a3f8a9f31f6777) Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix B != SRobert Yang2015-01-161-3/+5
| | | | | | | | | | | | | And bump PR to avoid: Makefile:16: *** This is an out of tree build but your source tree (/path/to/qemu-2.2.0) seems to have been used for an in-tree build. You can fix this by running "make distclean && rm -rf *-linux-user *-softmmu" in your source tree. Stop. (From OE-Core rev: 0ba65934fa1c2a4f4bd3ed404ab9a9163bde5309) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: disable vte if gtk is also disabledRichard Tollerton2014-12-191-1/+1
| | | | | | | | | | | | | | vte will pull in the gtk libs itself. This can cause build failures if the native gtk was build with glib>=2.41 while the sysroot native glib is <=2.40. Fix for [YOCTO #7077]. (From OE-Core rev: 6cea10dd8f041731269ad16b94d8e172ab1f7257) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add missing wacom HID descriptorRichard Purdie2014-11-281-0/+1
| | | | | | | | | | The wacom driver we use is missing a HID descriptor causing it not to work with 3.17 kernels and later. This patch adds in a descriptor to make the driver work again. (From OE-Core rev: 51200e0151f0a3b0ed06649ffe77ef20bb296499) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-native: only depends on libxext-native when x11Robert Yang2014-09-031-1/+1
| | | | | | | | | | Fixed when build without x11 in DISTRO_FEATURES: ERROR: libxext-native was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES) (From OE-Core rev: 012c7fbe0a21e469db5112873e778ff7c3b17237) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-native: depends on libxext-native when enable sdlRobert Yang2014-08-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed do_configure error: ERROR: User requested feature sdl configure was not able to find it. Install SDL devel The error message from log.do_configure, and if we check config.log, the error is: sysroots/x86_64-linux/usr/lib/libXext.so.6: undefined reference to `_XEatDataWords' The _XEatDataWords is provided by libX11.so, the dependencies are: qemu-native -> sdl(from the host) -> libXext.so(maybe host or native) -> libX11.so (maybe host or native) For example on Ubuntu 12.04 x86_64, the link route is: qemu-native's do_configure sdl checking: /usr/lib/x86_64-linux-gnu/libSDL.so --> <sysroots>/x86_64-linux/usr/lib/libXext.so.6 --> /usr/lib/x86_64-linux-gnu/libX11.so So it is: host sdl -> sysroot libXext.so.6 -> host X11.so qemu-native doesn't depend on libxext-native, so the error would happen if the libx11-native is being rebuilding and the host's libX11.so doesn't have _XEatDataWords. Manually reproduce it on Ubuntu 12.04 x86_64: $ bitbake qemu-native libx11-native libxext-native $ bitbake qemu-native libx11-native -ccleansstate && bitbake qemu-native Note, only qemu-native has this problem since libxext depends on libX11, and SDL would depend on libxext when x11 is enabled. (From OE-Core rev: fbf6995306d85ad868fa5d33da9b493e7e0de414) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add PACKAGECONFIG for numaJackie Huang2014-08-271-0/+1
| | | | | | | | | | | | Add PACKAGECONFIG for numa to avoid build error: backends/hostmem.c:21:20: fatal error: numaif.h: No such file or directory Package numctl is from meta-oe. (From OE-Core rev: 9661ce6ed5e01dd21360946c561b3c8a1ce9fc2c) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Explicitly disable libiscsi, its not in DEPENDSJonathan Liu2014-08-231-1/+1
| | | | | | | (From OE-Core rev: 71fd367f6a460257b6a5866b4932762b041e9563) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: Drop unneeded nativesdk-libsdl RDEPENDSRichard Purdie2014-08-171-1/+0
| | | | | | | | Now sdl is completely handled by PACKAGECONFIG, we can drop this RDEPENDS. (From OE-Core rev: df764706c221a0da77af993dad23b1b97507ec8b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add PACKAGECONF lzoKai Kang2014-08-151-0/+1
| | | | | | | | | | | Add PACKAGECONF 'lzo' for qemu to fix QA warning: WARNING: QA Issue: qemu rdepends on lzo, but it isn't a build dependency? [build-deps] (From OE-Core rev: b05cf36a1fcb0fc2d3795ab43481f6de01de2af2) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: enable aarch64 supportKai Kang2014-08-151-1/+1
| | | | | | | | | | | | qemu 2.1.0 support aarch64 targets, so add aarch64 to QEMU_TARGETS to enable qemu aarch64 support. [YOCTO #6487] (From OE-Core rev: 2ff11438b763ddebfd798ccfe93d0d981d596202) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Overwrite KVM explicitly for darwin/mingwRichard Purdie2014-08-151-1/+5
| | | | | | | | | Force KVM to disabled on mingw/darwin systems since this makes no sense there. (From OE-Core rev: 0bbafc1e0250bc4df6c6fcc749ab9bbbd7de4a89) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Simplify DEPENDSRichard Purdie2014-08-151-2/+0
| | | | | | | | | These DEPENDS are now identical and the native/nativesdk variants can be dropped in favour of letting PACKAGECONFIG sort it out. (From OE-Core rev: 67c8f70e84ac25adb5ea54dbde83d2377a994f97) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add PACKAGECONFIG for glxRichard Purdie2014-08-151-2/+2
| | | | | | | | | | | With the configuration for sdl and glx, the virtual/libx11 in DEPENDS no longer makes any sense at all, the dependency comes through the various graphics backends. Therefore drop it. The glx PACKAGECONFIG is added for completeness. We avoid a floating dependency on mesa. (From OE-Core rev: ddb88df0eca85b0b2afca68a23c018d39a4c3d78) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add alsa PACKAGECONFIG and cleanup native/nativesdk DEPENDSRichard Purdie2014-08-151-5/+10
| | | | | | | | | | | | | Converting this dependency to become a PACKAGECONFIG makes sense. Since there is a "," in the configuration option, its not quite as straightforward as normal. Also clean up the native and nativesdk DEPENDS and set the PACKAGECONFIG entries to match the old behaviour by default. (From OE-Core rev: f724085b4947ec8437d48f77acd2e9e9d19e39ef) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fixup target sdl configuration to use PACKAGECONFIGRichard Purdie2014-08-151-2/+2
| | | | | | | | | SDL is now controlled by PACKAGECONFIG, remove the DEPENDS remnant set PACKAGECONFIG accordingly. (From OE-Core rev: 5bb25628e408f8738b38baba1f8609ab22cd5c51) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Move dtc(fdt) configuration to PACKAGECONFIGRichard Purdie2014-08-151-2/+3
| | | | | | | | Converting this dependency to become a PACKAGECONFIG makes sense. (From OE-Core rev: 15d7dc8df4b508acfeac43a8d0f9e15889ec3e7d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: upgrade to 2.1Cristian Iorga2014-08-111-1/+1
| | | | | | | | | | | | | | | | QEMU 2.1 comes with fixes and improvements. See http://wiki.qemu.org/ChangeLog/2.1 for details. - Added config for quorum support, depending on gnutls. - pcie_better_hotplug_support.patch removed, integrated upstream. - Qemu-Arm-versatilepb-Add-memory-size-checking.patch updated to 2.1 source code. - no-strip.patch removed, no longer necessary due to code changes. (From OE-Core rev: 3ae32d0d6c7cf8294300f32d346da36748e05f3d) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: Allow optional use of pkg-config from the HOSTRichard Purdie2014-08-021-2/+4
| | | | | | | | | | | | Currently, if pkg-config isn't installed on the build system, this code can cause an error. We don't need to require this, only use it if its present so allow the test to fail gracefully. (From OE-Core rev: c39a1172afd783cedf4cb11f00e8f16d7a7ec22c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Use PACKAGECONFIG for libusb to avoid floating dependencyRichard Purdie2014-07-251-0/+1
| | | | | | (From OE-Core rev: 24cc1af031244ad7c152b98312012b6344e57d48) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: exclude some ARM EABI obsolete syscallsRoy.Li2014-07-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some syscalls are obsolete and no longer available for EABI, exclude them to fix the below error: In file included from qemu-seccomp.c:16:0: qemu-seccomp.c:28:7: error: '__NR_select' undeclared here (not in a function) { SCMP_SYS(select), 252 }, ^ qemu-seccomp.c:36:7: error: '__NR_mmap' undeclared here (not in a function) { SCMP_SYS(mmap), 247 }, ^ qemu-seccomp.c:57:7: error: '__NR_getrlimit' undeclared here (not in a function) { SCMP_SYS(getrlimit), 245 }, ^ qemu-seccomp.c:96:7: error: '__NR_time' undeclared here (not in a function) { SCMP_SYS(time), 245 }, ^ qemu-seccomp.c:185:7: error: '__NR_alarm' undeclared here (not in a function) { SCMP_SYS(alarm), 241 }, please refer source files: arch/arm/include/uapi/asm/unistd.h or kernel header: /usr/include/asm/unistd.h (From OE-Core rev: 49257247fdc57e9296520bbd598fd8cbf425d44a) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix qemu-native pkg-config pathsCristian Iorga2014-07-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | For qemu-native, the pkg-config paths do not include build host paths. This is an issue for libsdl for example, where SDL is used by qemu, but for qemu-native libsdl-native is not built, but assumed to be provided by the build host. Because pkg-config do not search for libsdl config files on the build host sysroot, the configure stage of qemu-native will fail because it will not find SDL as being installed. Usually, the isssue is masked by a functional sdl-config that will be interogated instead of pkg-config. However, on Build Appliance, sdl-config is deliberately made non-functional, so the issue manifests itself. The fix will create an extended PKG_CONFIG_PATH, which does include the build host sysroot paths for pkg-config. Fix for [YOCTO #6495]. (From OE-Core rev: 68a5ed337f8f7ee8e5bf55542ec82d786eb754db) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: define PACKAGECONFIG[] for ssh2Joe Slater2014-05-131-0/+1
| | | | | | | | | | | qemu configure will search for libssh2 if we do not enable or disable it's use, resulting in non-deterministic builds. We define PACKAGECONFIG[] to avoid this. (From OE-Core rev: ecb819b12a89e4e944974068d2e20ed226979317) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu/local.conf.sample: Add sdl PACKAGECONFIGRichard Purdie2014-05-131-0/+1
| | | | | | | | | Currently the SDL configuration option for qemu floats. This is confusing to new users and makes the build non-determinstic. This patch adds a PACKAGECONFIG option, defaulting to off and adds documentation to local.conf.sample leaving it on by default since this is the configuration our quick start assumes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador2014-04-251-2/+2
| | | | | | | | | | | The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie2014-02-281-1/+1
| | | | | | | | | | | | This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. (From OE-Core rev: 006b8a7808a58713af16c326dc37d07765334b12) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Allow building without X11 supportJonas Eriksson2014-01-291-1/+2
| | | | | | | | | | | To enable the construction of minimal hypervisors based on OE, it is important to be able to build qemu without it requiring X support. By checking that the distro is built with the x11 feature before adding virtual/x11 to the dependencies, this is made possible. (From OE-Core rev: e88b85406f2a6722a507b5db3485358a88d950f7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>