summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-152-2/+2
| | | | | | | | | | | | 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-115-96/+4
| | | | | | | | | | | | | | | | 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: security patch for CVE-2014-3471Daniel BORNAZ2014-07-192-1/+79
| | | | | | | | | | | | | | | | | | | | | Qemu PCIe bus support is vulnerable to a use-after-free flaw. It could occur via guest, when it tries to hotplug/hotunplug devices on the guest. A user able to add & delete Virtio block devices on a guest could use this flaw to crash the Qemu instance resulting in DoS. Originated-by: Marcel Apfelbaum <address@hidden> Updated the qemu recipe to include the security patch. Upstream-Status: Submitted (From OE-Core rev: a84e1749b489cee5ea219799c35e29b6edead30f) Signed-off-by: Daniel BORNAZ <daniel.bornaz@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: exclude some ARM EABI obsolete syscallsRoy.Li2014-07-172-0/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* qemuwrapper-cross: Use QEMU_OPTIONSRichard Purdie2014-06-141-1/+2
| | | | | | | | | | The correct cpu options are needed in order to correctly run some CPU types. This information is available in QEMU_OPTIONS, use it. This avoids architectures like qemuppc failing postinstalls. (From OE-Core rev: 3d9c0cbf1f9b9802d7374c4fa1672c26fc5db5cb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: upgrade to 2.0.0Cristian Iorga2014-06-032-36/+4
| | | | | | | | | | | - switched to ${BP} variable. - updated download link; - fxrstorssefix.patch no longer needed, superseded; (From OE-Core rev: b6f6e389b68468266926856bd318c245696ea932) 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: remove unused FILESPATHPetter Mabäcker2014-05-131-1/+0
| | | | | | | | | | | | | | Fixes [YOCTO #4497] Usage of FILESPATH is discouraged, since it can make recipes harder to bbappend. Instead FILESEXTRAPATHS should be used to extend the path. However in nativesdk-qemu-helper no FILESPATH additions are currently needed so instead it should be removed. (From OE-Core rev: cd35938fa4fac4451da3ef32626988c51ed8c021) Signed-off-by: Petter Mabäcker <petter@technux.se> 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>
* Qemu:Arm:versatilepb: Add memory size checkingJiang Lu2014-04-012-1/+42
| | | | | | | | | | | | | | The machine can not work with memory over 256M, so add a checking at startup. If the memory size exceed 256M, just stop emulation then throw out warning about memory limitation. (From OE-Core rev: 48ff812a4b649fa7b1c73740ef65e4855640dc39) Signed-off-by: Jiang Lu <lu.jiang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add addition environment space to boot loader qemu-system-mipsJeff Polk2014-04-012-1/+33
| | | | | | | | | | | | | | | | | The qemu mips malta base board boot loader uses environment strings with a max length of 256 bytes which is not long enough to accommodate a long NFS path in addition to the normal kernel boot command line arguments. The solution is to expand the environment string length to 1024 bytes. (From OE-Core rev: 1e9e26304b77dd11b30ec983b7fa058378b29c47) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 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>
* qemu: Remove stray .git files after unpackingPhil Blundell2014-01-101-0/+8
| | | | | | | | | | | | | | The qemu tarball ships some extraneous .git metadata in the dtc/ and pixman/ subfolders, containing a reference to the path "../.git/modules" which doesn't exist. The presence of these files will confuse git if it happens to recurse into the qemu source folder during an operation on some parent directory, for example "git clean" at a higher level. Avoid that problem (mostly) by removing them immediately after the sources are unpacked. (From OE-Core rev: cd962b790d5d15985a5a436169d6b2e3b0db0b2d) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: upgrade to 1.7.0Cristian Iorga2014-01-109-95/+2
| | | | | | | | | | | | | | linux-user-Handle-SOCK_CLOEXEC-NONBLOCK-if-unavailab.patch file no longer needed, included in upstream. qemu-native tested on all architectures, host machine is Ubuntu Linux 13.10 x86-64. Basic X11 and networking tests performed. (From OE-Core rev: 0f81a4b17ab9ea1b3cc69629aec3f3d2176f8153) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-023-3/+3
| | | | | | | | | | | | | | A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/*: remove unnecessary patchesChong Lu2013-12-103-115/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patches are found, but not used by any recipe, so we should remove them. meta/recipes-connectivity/avahi/files/fix_for_automake_1.11.2.patch meta/recipes-connectivity/dhcp/dhcp/fix-client-path.patch meta/recipes-connectivity/libnss-mdns/files/alignment-fix.patch meta/recipes-core/dbus/dbus-1.6.10/test-run-path.patch meta/recipes-core/gettext/gettext-0.16.1/fixchicken.patch meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch meta/recipes-core/systemd/systemd/use-rootlibdir.patch meta/recipes-core/util-linux/util-linux/remove-lscpu.patch meta/recipes-core/util-linux/util-linux/remove_sigsetmark.patch meta/recipes-core/util-linux/util-linux/uclibc-compile.patch meta/recipes-devtools/autoconf/autoconf/autoconf-x.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build2.patch meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-robustify.patch meta/recipes-devtools/gdb/gdb/libiberty-cross.patch meta/recipes-devtools/perl/perl-5.14.3/asm-pageh-fix.patch meta/recipes-devtools/python/python-native/sys_platform_is_now_always_linux2.patch meta/recipes-devtools/python/python-pygobject/generate-constants.patch meta/recipes-devtools/qemu/files/3f08ffb4a4741d147634761dc053ed386243a0de.patch meta/recipes-devtools/qemu/files/enable-i386-linux-user.patch meta/recipes-devtools/qemu/files/init-info.patch meta/recipes-devtools/rpm/rpm/rpm_fix_for_automake-1.12.patch meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch meta/recipes-extended/iputils/files/arping-break-libsysfs-dependency.patch meta/recipes-extended/libarchive/libarchive/0003-Patch-from-upstream-rev-2516.patch meta/recipes-extended/procps/procps-3.2.8/pagesz-not-constant.patch meta/recipes-gnome/gtk+/gtk+-2.24.22/no-demos.patch meta/recipes-gnome/libglade/libglade-2.6.4/no-deprecation.patch meta/recipes-graphics/mesa/mesa/0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch meta/recipes-graphics/xorg-lib/libxxf86dga/libxxf86dga-1.1.3_fix_for_x32.patch meta/recipes-kernel/kmod/kmod/fix-undefined-O_CLOEXEC.patch meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch meta/recipes-kernel/linux/linux-yocto/tools-perf-no-scripting.patch meta/recipes-support/gnutls/gnutls/gnutls-texinfo-euro.patch meta/recipes-support/nspr/nspr/fix-build-on-aarch64.patch [YOCTO #5180] (From OE-Core rev: e5d81f757de4bd1bfd37a96300edd50b77b0d21c) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add bash and python to qemu's RDEPENDSHongxu Jia2013-12-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | Note: adding Smart RPM DB channel | | Note: to be installed: qemu@x86_64 run-postinsts@x86_64 kernel-modules@qemux86_64 packagegroup-core-boot@qemux86_64 | Loading cache... | Updating cache... ######################################## [100%] | | Computing transaction...error: Can't install qemu-1.5.0-r0.0@x86_64: no package provides /usr/bin/python | | Saving cache... | | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_rootfs (log file is located at tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do_rootfs/log.do_rootfs.21373) (From OE-Core rev: 44806d40a8061a3dbab4cc19d1200c032781e0b4) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: handle CLOEXEC/NONBLOCK if unavailable on hostChristopher Larson2013-12-032-0/+93
| | | | | | | | (From OE-Core rev: d60cf44deb297119f97d7e792eae5ab01977e2fc) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Don't set DESCRIPTION to the same value as SUMMARYPaul Eggleton2013-12-031-1/+0
| | | | | | | | | | | | Setting DESCRIPTION to the same value as SUMMARY doesn't do anything, since the value of DESCRIPTION will be derived from SUMMARY if not specified. (From OE-Core rev: e1e888585c84175580ad822d4a6c93f62e5ce16c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add PACKAGECONFIG for vnc, libcurl, nss, uuid, curses, gtk+, libcap-ngHongxu Jia2013-11-261-3/+13
| | | | | | | | | | | | Use PACKAGECONFIG to explicitly address vnc, libcurl, nss, uuid, curses, gtk+, libcap-ng dependencies rather than tested by configure. It avoided potential errors while multiple builds shared a common state_cache. (From OE-Core rev: 4482af07df26644885bae49b98f5d765a5caa68c) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: explicitly disable xen supportMing Liu2013-11-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | We don't make use of xen and when building on Ubuntu 13.04 when libxen-dev is installed on the build host you will get errors like the following: | /usr/include/x86_64-linux-gnu/bits/string3.h:81: warning: memset used with constant zero length parameter; this could be due to transposed parameters | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_alone_decoder@XZ_5.0' | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_code@XZ_5.0' | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_stream_decoder@XZ_5.0' | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_end@XZ_5.0' This change disables xen for both -native and target packages but since it is a PACKAGECONFIG a user could tune this to have xen support in the target package. (From OE-Core rev: fd638b975aac826d7137fd11db94b64ba82de592) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-helper-native: remove unneeded FILESEXTRAPATHSaul Wold2013-11-201-2/+0
| | | | | | | (From OE-Core rev: a11a260f36aa1458c44a5b22e996252a5f3b2e4e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: use PACKAGECONFIG to address xfsprogs dependencyMing Liu2013-11-121-0/+1
| | | | | | | | | To avoid a implicit build result. (From OE-Core rev: 3e302e94ba5bcbba2736f37c0f67cfaf7fa45c0c) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: upgrade to 1.6.1Chris Patterson2013-11-057-243/+18
| | | | | | | | | | | | | | | | | | | | This update also drops the following patches which appear to have been resolved upstream: - ftd_header.patch - target-i386-Fix-aflag-logic-for-CODE64-and-the-0x67-.patch - target-ppc_fix_bit_extraction.patch Qemu no longer uses the i386.ld and x86_64.ld linker scripts and the .interp section should now have a 0x1000 size with the proper path. Therefore, for nativesdk-qemu, the following patch should no longer be required and is also dropped: - relocatable_sdk.patch (From OE-Core rev: 8e22b08de2745e08421b38f8ba215bcc1de4b423) Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Remove PR = r0 from all recipesRichard Purdie2013-10-302-2/+0
| | | | | | | | | | | | | Remove all PR = "r0" from all .bb files in oe-core. This was done with the command sed -e '/^PR.*=.*r0\"/d' recipes*/*/*.bb -i We've switching to the PR server, PR bumps are no longer needed and this saves people either accidentally bumping them or forgetting to remove the lines (r0 is the default anyway). (From OE-Core rev: 58ae94f1b06d0e6234413dbf9869bde85f154c85) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix nativesdk build without x11Eric Bénard2013-10-071-8/+11
| | | | | | | | | | | | | | | | when x11 is not defined in DISTRO_FEATURES, there are no x11 headers so True is not defined leading to : | ui/sdl.c:62:8: warning: type defaults to 'int' in declaration of 'doing_grabs' [-Wimplicit-int] | static doing_grabs = True; | ^ | ui/sdl.c:62:22: error: 'True' undeclared here (not in a function) | static doing_grabs = True; | ^ (From OE-Core rev: d3d5ccd3275196fb9e4cb8f49d3c087b97c20ed6) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add fix for floating point issues on x86-64Richard Purdie2013-09-302-0/+32
| | | | | | | | | | | | There was a bug in handling of the mxcsr register since cpu flags were not getting updated after fxrstor operations. This small tweak fixes that. [YOCTO #5248] (From OE-Core rev: 5dc43cdc08e6698afa16ba79f3506a1555bb3710) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix broken patch1.5_M5.rc4Richard Purdie2013-09-181-1/+1
| | | | | | (From OE-Core rev: 9934141d5df9d334f7f7f76e1990234af8a25a63) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add option to disable X grabsRoss Burton2013-09-182-0/+70
| | | | | | | | | | | | | | | | | | | | When the mouse pointer enters the qemu window it takes a pointer grab. This doesn't sound too dangerous at first but it turns out that SDL will infinitely busy-loop if it can't get the grab (e.g. if the screen is locked) and the average autobuilder setup's X server will have locked the screen a few minutes after boot. The result is that on many autobuilders apparently random qemu instances (the top-most one under the pointer) will hang during boot. To resolve this add an option (via an environment variable) to never attempt a grab. The default behaviour remains to grab so that everyone else doesn't see any change. (From OE-Core rev: a60b1ebbb8f81245f3ccf25b3f9d63677de75b85) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* remove the unnecessary protocol parametersJackie Huang2013-08-301-1/+1
| | | | | | | | | | | It's not necessary to specify the protocol parameter when it's the default protocol for the fetcher, e.g. the default protocol for git fetcher it git, "protocol=git" isn't needed. (From OE-Core rev: a2bab241c64428d5109c3c5ac5de4463fbad70c5) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix bit extraction for MTFSFI and MTFSFKhem Raj2013-08-162-1/+73
| | | | | | | | | | | | Power ISA 2.05 enhancements introduced regression in mtfsfi implementation. Fixed thusly [YOCTO #4854] (From OE-Core rev: b8952942aed77473d3b44a17112cbf6a9e83eff3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Skip it for mips64 targetKhem Raj2013-08-133-2/+3
| | | | | | | | | | | We should not skip it always since same recipes provide qemu-native too so user class-target override to make it only skip for target recipes (From OE-Core rev: 23d633cc65cf31486263f120c71df82186cfdd22) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: pass CFLAGS via ./configure instead of a patchRiku Voipio2013-08-122-25/+1
| | | | | | | | | | | | | | OE carries a patch to pass CFLAGS to qemu. However, we can avoid patching by passing CFLAGS with qemu's --extra-cflags option. Tested that building qemu-native still works without zlib-dev on host, and that qemu builds. (From OE-Core rev: 67b6d8d9f987a59090a9a8af61cf740207703dff) Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: remove unused SDL variableRoss Burton2013-08-031-4/+0
| | | | | | | | (From OE-Core rev: 414f1b54f93115bc52130f342ffe3a95be47b18e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: block to build it on mips64 archRoy.Li2013-07-292-0/+4
| | | | | | | | | | | qemu packages can NOT be built for mips64, Set COMPATIBLE_HOST to null to block build them for such platform. (From OE-Core rev: 239d46d9060ee4f30da4f7633377639283f16453) 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: QEMU fix libtool usageMark Hatle2013-07-131-0/+2
| | | | | | | | | | | | | | | QEMU uses the environment variable LIBTOOL by default. We want to ensure we set it to the proper libtool version, instead of letting it default to the host system version. This corrects target building, and ensures we're linking properly for native and nativesdk versions. (From OE-Core rev: b91d65fc78c18948ed4ec96f34b85c431dbc3d95) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: use PACKAGECONFIG to address libaio/attr/libcap dependenciesTing Liu2013-07-101-0/+2
| | | | | | | | | | | | Move to using the PACKAGECONFIG mechanism to select configure options and dependencies. Without this the system will attempt to discover various dependencies, and sometimes does so incorrectly. (From OE-Core rev: 8438bbe210de6f565f842d745ccede131fa385db) Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix segfault in Xorg when not using kvmLaurentiu Palcu2013-06-202-1/+81
| | | | | | | | | | | | This backported patch will fix this Xorg issue and, probably, many others which didn't show up yet. [YOCTO #4737] (From OE-Core rev: c659903841da7aa44675d2970d1b92841b91d29e) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>