summaryrefslogtreecommitdiffstats
path: root/package/qemu
Commit message (Collapse)AuthorAgeFilesLines
* qemu: switch to sdl2Fabrice Fontaine2018-10-302-5/+7
| | | | | | | | | | | Since version 2.12.0 and https://github.com/qemu/qemu/commit/e52c6ba34149b4f39c3fd60e59ee32b809db2bfa, SDL 1.2 is deprecated so switch to SDL 2.0 as SDL 1.2 will be removed in the last release of 2018 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qemu: sdl frontend needs x11Fabrice Fontaine2018-10-301-0/+2
| | | | | | | | | | | | | | | Since qemu 2.12.0 and https://github.com/qemu/qemu/commit/2ec78706d188df7d3dab43d07b19b05ef7800a44, x_keymap.h has been converted from "SDL display driver" to "X11 keymaps" So add a select on BR2_PACKAGE_SDL_X11 Fixes: - http://autobuild.buildroot.org/results/1908d2d7de8d3aff11ed6fbb8fe4cf3eff54b5a5 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qemu: security bump to 2.12.1Peter Korsgaard2018-10-082-2/+2
| | | | | | | | | | | | | | >From the release notes: This update contains new mitigation functionality for CVE-2018-3639 (Speculative Store Bypass) in x86. There are also bug fixes for migration, Intel IOMMU emulation, block layer/image handling, ARM emulation, and various other areas. https://www.mail-archive.com/qemu-devel@nongnu.org/msg553574.html Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* qemu: add an option to enable user mode networking (SLIRP)Carlos Santos2018-08-292-3/+28
| | | | | | | | | User mode networking is a useful feature that does not depend on other packages. Add an option to enable it but keep it disabled by default, for backwards compatibility. Signed-off-by: Carlos Santos <casantos@datacom.com.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* qemu: bump to 2.12.0Adam Duskett2018-08-104-65/+16
| | | | | | | | | | | | | | | | | | | | | | | In addition: - Update 0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch with new line numbers and file location. - Remove upstream 0002-memfd-fix-configure-test.patch - Add new options found in 2.12.0 in qemu.mk as disabled. - Remove --with-system-pixman as it's no longer optional. Tested with test-pkg: ./utils/test-pkg -p qemu -c configs/qemu_min_defconfig br-arm-full [1/6]: OK br-arm-cortex-a9-glibc [2/6]: OK br-arm-cortex-m4-full [3/6]: SKIPPED br-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: OK armv5-ctng-linux-gnueabi [6/6]: OK 6 builds, 1 skipped, 0 build failed, 0 legal-info failed Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/qemu: declare target variant before host variantThomas Petazzoni2018-04-301-121/+121
| | | | | | | | | | | | | | | | | | | | | | Our package infrastructure uses inheritance of a number of values from the target package to the host package, which assumes the target package is defined before the host package. In addition, future changes are going to make this requirement even more important. Therefore, let's fix the qemu package so that it declares its target variant before its host variant, like all other packages in Buildroot. We handle qemu separately from other packages, because unlike other packages, it didn't had the "eval" for the host and target packages at the end of the file, but rather all variables related to the host variant first, then the call to the package infrastructure for the host variant, then the variables related to the target variant, and finally the call to the package infrastructure for the target variant. We are inverting the order of those two big parts in this commit. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* qemu: disable qemu user emulation on MIPS64 for host variantAdam Duskett2018-04-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | According to target/mips/TODO in the Qemu sources: MIPS64 ------ - Userland emulation (both n32 and n64) not functional. And indeed, trying to run a mips64n32 binary under qemu user emulation results in: Invalid ELF image for this architecture So we move the BR2_mips64(el) dependency from BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS to BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS, so that only the system emulation is available on mips64, and not the user-mode emulation. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* qemu: introduce BR2_PACKAGE_HOST_QEMU_{SYSTEM, USER}_ARCH_SUPPORTSThomas Petazzoni2018-04-281-2/+14
| | | | | | | | | | | | | | | | | | | | | | Not all architectures are supported by both the system emulation and user-mode emulation in Qemu, so a single BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS doesn't work very well. Therefore, this commit introduces the BR2_PACKAGE_HOST_QEMU_{SYSTEM,USER}_ARCH_SUPPORTS hidden options. We keep the BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS option for the (numerous) architectures supported by both system emulation and user-mode emulation. The 'select' logic to make sure that at least either system emulation or user-mode emulation is selected is reworked, and done carefully to avoid recursive Kconfig dependencies. For now BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS and BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS are the same, but they will become different in a follow-up commit. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* qemu: rewrite BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS to be more readableThomas Petazzoni2018-04-281-6/+17
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package: remove Blackfin related codeThomas Petazzoni2018-04-151-1/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* qemu/Config.in.host: fix overindented depends onRicardo Martincoski2018-04-011-1/+1
| | | | | | | | Do the same as used in all other Config.in files and use only one tab. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Cc: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* qemu: remove support for some PowerPC processors in host qemuAdam Duskett2018-03-261-0/+1
| | | | | | | | The 620, 630, and 970 are not supported at this time by qemu. Signed-off-by: Adam Duskett <aduskett@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* qemu: add libssh2 optional dependencyBaruch Siach2018-03-241-0/+7
| | | | | | | | | | Make sure that qemu uses libssh2 when libssh2 is enabled, for build consistency. Cc: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qemu: fix build with glibc 2.27Baruch Siach2018-03-241-0/+58
| | | | | | | | | | | | | | | | | | glibc version 2.27 added a wrapper for the memfd_create system call. The wrapper prototype collides with a static declaration of memfd_create. Add upstream patch to correctly detect the glibc provided memfd_create definition. Fixes: http://autobuild.buildroot.net/results/b82/b825c0cd397424b1fc7fa87c580e1757dc25c588/ http://autobuild.buildroot.net/results/9aa/9aa3853d23c0dc72bf3632b4d66ae39f597f5250/ http://autobuild.buildroot.net/results/b13/b13039ba602b9d500b939d259816a39ba24e1ba2/ Cc: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Romain Naour <romain.naour@gmail.com> Tested-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Peter Korsgaard2018-03-051-3/+7
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * qemu: add BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTSAdam Duskett2018-02-081-3/+7
| | | | | | | | | | | | | | | | Match the style used with other packages such as valgrind. Signed-off-by: Adam Duskett <aduskett@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* | package/*/Config.in.host: fix help text check-package warningsGaël PORTAY2018-02-141-1/+2
|/ | | | | | | | | | This commit fixes the warnings reported by check-package on the help text of all package Config.in.host files, related to the formatting of the help text: should start with a tab, then 2 spaces, then at most 62 characters. Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* qemu: security bump to version 2.10.2Peter Korsgaard2017-12-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Fixes the following security issues: CVE-2017-13672: QEMU (aka Quick Emulator), when built with the VGA display emulator support, allows local guest OS privileged users to cause a denial of service (out-of-bounds read and QEMU process crash) via vectors involving display update. CVE-2017-15118: Stack buffer overflow in NBD server triggered via long export name CVE-2017-15119: DoS via large option request CVE-2017-15268: Qemu through 2.10.0 allows remote attackers to cause a memory leak by triggering slow data-channel read operations, related to io/channel-websock.c. For more details, see the release announcement: https://lists.nongnu.org/archive/html/qemu-devel/2017-12/msg03618.html Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/*/Config.in: fix help text check-package warningsThomas Petazzoni2017-12-181-18/+24
| | | | | | | | | | | | | This commit fixes the warnings reported by check-package on the help text of all package Config.in files, related to the formatting of the help text: should start with a tab, then 2 spaces, then at most 62 characters. The vast majority of warnings fixed were caused by too long lines. A few warnings were related to spaces being used instead of a tab to indent the help text. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qemu: bump to 2.10.1Adam Duskett2017-10-212-2/+4
| | | | | | | Also add sha256sums for license files. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qemu: change to .tar.xz formatPeter Korsgaard2017-10-052-3/+3
| | | | | | | And use the official download location. Suggested-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qemu: security bump to version 2.8.1.1Peter Korsgaard2017-10-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Fixes the following security issues and adds a number of other bigfixes: 2.8.1: Changelog: https://lists.gnu.org/archive/html/qemu-devel/2017-03/msg06332.html CVE-2017-2615 - display: cirrus: oob access while doing bitblt copy backward mode CVE-2017-2620 - display: cirrus: out-of-bounds access issue while in cirrus_bitblt_cputovideo CVE-2017-2630 - nbd: oob stack write in client routine drop_sync 2.8.1.1 Changelog: https://lists.gnu.org/archive/html/qemu-devel/2017-04/msg03460.html CVE-2017-7471 - 9p: virtfs allows guest to change filesystem attributes on host Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qemu: drop obsolete "--disable-uuid" configuration parameterCarlos Santos2017-10-041-1/+0
| | | | | | | | ./configure: --disable-uuid is obsolete, UUID support is always built Change-Id: I9e278418d19e15bbbd3ea233658cd62f75e3385c Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/binArnout Vandecappelle2017-07-051-4/+4
| | | | | | | | | | | Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* generic packages: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefixArnout Vandecappelle2017-07-051-1/+1
| | | | | | | | | | | | Remove the redundant usr/ component of the HOST_DIR paths. Since a previous commit added a symlink from $(HOST_DIR)/usr to $(HOST_DIR), everything keeps on working. This is a mechanical change with git grep -l '\$(HOST_DIR)/usr' | xargs sed -i 's%\(prefix\|PREFIX\)=\("\?\)\$(HOST_DIR)/usr%\1=\2$(HOST_DIR)%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qemu: fix user mode emulation build on ARMThomas Petazzoni2017-05-051-0/+35
| | | | | | | | | | | This commit adds a patch that adjusts how the mcontext structure is used on ARM with a uClibc C library. Fixes: http://autobuild.buildroot.net/results/79900b22c190e883b6d9a3075e1286ec95840ae1/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/q*/Config.in: fix ordering of statementsAdam Duskett2017-05-021-2/+2
| | | | | | | | | | | | | The check-package script when ran gives warnings on ordering issues on all of these Config files. This patch cleans up all warnings related to the ordering in the Config files for packages starting with the letter q in the package directory. The appropriate ordering is: type, default, depends on, select, help See http://nightly.buildroot.org/#_config_files for more information. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package makefiles: clean up backslash spacing.Adam Duskett2017-04-221-36/+36
| | | | | | | | | | The check-package script when ran gave warnings on only using one space before backslashes on all of these makefiles. This patch cleans up all warnings related to the one space before backslashes rule in the make files in the package directory. Signed-off-by: Adam Duskett <aduskett@codeblue.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "qemu: allow to build host variant statically"Thomas Petazzoni2017-04-032-32/+0
| | | | | | | | | | | | | This reverts commit a6afa968fc9080080b943885b8599475df9e36c4, which causes too many different build issues: http://autobuild.buildroot.net/results/d5c/d5ced6c9738b285e6fda8c3d41c3c66ee0cf1edc/build-end.log http://autobuild.buildroot.net/results/fca/fca01cc5ce13384df0a7f8fad75e2acd05598f99/build-end.log http://autobuild.buildroot.net/results/f17/f1755f26a3eacd84de9bd901b214a5bbb964988c/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qemu: allow to build host variant staticallyJérôme Pouiller2017-04-012-0/+32
| | | | | | | | | Compiling Qemu statically allows to use it to chroot into target/. It is a nice feature, so add an option for it. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> [Thomas: slightly tweak Config.in help text.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for BSD-2cRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-2c is BSD-2-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-2c/BSD-2-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for BSD-3cRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-3c is BSD-3-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: qemu: bump version to 2.8.0Andrey Yurovsky2017-02-112-2/+2
| | | | | | | | | | | | This adds a CPU definition for the Cortex A7 along with improvements described here: http://wiki.qemu-project.org/ChangeLog/2.8 Tested on an ARM Cortex A7 target (both target and host builds). The change log does not describe any incompatible changes that would affect buildroot targets as far as I am aware. Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qemu: separate user and system arch on powerpc64leSam bobroff2016-12-101-2/+4
| | | | | | | | | | | | | | | | | | | QEMU provides a single system emulator that supports both powerpc64 and powerpc64le with a target called 'ppc64-softmmu', but it provides a different usermode emulator for each one (with targets 'ppc64le-linux-user' and 'ppc64-linux-user'). Due to this asymmetry it is not possible to support both cases with the single arch value used in the package file. This patch introduces an additional value into the package configuration, HOST_QEMU_SYS_ARCH, so that both cases can be supported. Fixes commit d2ff457e88ff4106f97e29516d467978827d30c2 and autobuilder failture http://autobuild.buildroot.net/results/a2d63e21c3e82c36f4a975e90ed56faba18e97a5 Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2016-12-012-2/+13
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * package/qemu: add option to include toolsSam bobroff2016-11-262-1/+11
| | | | | | | | | | | | | | | | | | Add an option to QEMU to include the "tools" (configure option: --enable-tools) in the target. This adds a dependency on pixman, but that's already present. Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * package/qemu: fixup enable host QEMU for powerpc64/powerpc64leSam bobroff2016-11-251-2/+2
| | | | | | | | | | | | | | | | | | | | Fixes next commit d634d9dda7f3c328d63469cb628c79da49a09e89, which itself fixes: http://autobuild.buildroot.net/results/f58ec73d906a5da49a88ed78492e3b5bf8cecdd4/ Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * package/qemu: enable host QEMU for powerpc64/powerpc64leSam bobroff2016-11-231-0/+8
| | | | | | | | | | Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * package/qemu: enable for powerpc64 and powerpc64leSam bobroff2016-11-221-1/+2
| | | | | | | | | | Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/qemu: fixup enable host QEMU for powerpc64/powerpc64leSam bobroff2016-11-251-2/+2
| | | | | | | | | | | | | | | | | | | | Fixes next commit d634d9dda7f3c328d63469cb628c79da49a09e89, which itself fixes: http://autobuild.buildroot.net/results/f58ec73d906a5da49a88ed78492e3b5bf8cecdd4/ Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/qemu: enable host QEMU for powerpc64/powerpc64leSam bobroff2016-11-251-0/+8
| | | | | | | | | | | | | | | | | | Needed to fix: http://autobuild.buildroot.net/results/f58ec73d906a5da49a88ed78492e3b5bf8cecdd4/ Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/qemu: disable Qemu user-land emulation for musl toolchainsRomain Naour2016-11-061-0/+5
|/ | | | | | | | | | | | | | | | | Like for cyclictest (rt-test)[1], linux-user/syscall.c use the definition of the "struct sigevent" from Glibc/uClibc which doesn't build with musl libc. So, disable Qemu user-land emulation for musl toolchains. Fixes: http://autobuild.buildroot.net/results/b27/b277e668d9e22b624416bf46f6ccba802acd257e [1] 43bffa59e7359610c8f00038ddd97795c0ca35e1 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qemu: fix build of target variantThomas Petazzoni2016-10-201-0/+3
| | | | | | | | | | | | | | | | Similar to what was done in commit 524b6b85595274ca13bd7d01adb61ce2dddd786c for the host variant, this commit fixes the build of qemu's host variant. Qemu expects that the cpp it is passed behave like cc: it passes the -c option, which is not allowed by cpp, but is allowed for cc. Fix that by overriding CPP when calling configure. Fixes: http://autobuild.buildroot.net/results/0850e80ba62294397b44d8adea197a244a9a8205/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qemu: fix build of host variantYann E. MORIN2016-09-081-9/+12
| | | | | | | | | | | | | | | The Qemu buildsystem expects that the cpp it is passed can be called like it were cc: it passes it the '-c' option, which is not allowed by cpp, but is allowed for cc. Fix that by overriding CPP when calling configure. Note: the target variant of Qemu does not build the affected parts (the PC-BIOS images). This is another problem that should be fixed separately. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qemu: bump version to 2.7.0Vicente Olivert Riera2016-09-052-2/+2
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qemu: bump to version 2.6.0Thomas Petazzoni2016-07-042-2/+2
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* host-qemu: add support for vde2Simon Maes2016-07-042-0/+12
| | | | | | | | | Additional configuration for host-qemu package: - Enable VDE2 support for qemu Signed-off-by: Simon Maes <simonn.maes@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qemu: add support for host-qemu-systemSimon Maes2016-07-042-9/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for building the system emulation mode in host-qemu. To do so, it adds the BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE and BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE sub-options, making sure that the latter is selected if the former is not enabled. This ensures that at least one is enabled *and* that existing configurations continue to build the user-land emulation (which was the only one we supported until now). The list of architectures supported by the system emulation mode is the same as the one for the user-space emulation mode (as far as the existing list is concerned), so we simply drop the comment about this dependency list being related to the user-space emulation only. Signed-off-by: Simon Maes <simonn.maes@gmail.com> [Thomas: - Make sure either BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE or BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE get selected. - Unconditionally enable FDT support in host-qemu when in system mode (so the option BR2_PACKAGE_HOST_QEMU_FDT has been removed) - Remove the unneeded BR2_PACKAGE_HOST_QEMU_HAS_EMULS option. - Remove the SDL related option, we really on the system to provide SDL. - Remove the BR2_PACKAGE_HOST_QEMU_DEBUG and BR2_PACKAGE_HOST_QEMU_STRIP_BINARY options, since they are not really useful. - Remove HOST_QEMU_SITE and HOST_QEMU_SOURCE definitions, since they are automatically derived from QEMU_SITE and QEMU_SOURCE anyway. - Group things more logically in the .mk file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud