summaryrefslogtreecommitdiffstats
path: root/package/qemu
Commit message (Collapse)AuthorAgeFilesLines
...
* host-qemu: needs host-pythonPeter Korsgaard2015-02-061-1/+2
| | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/e58/e58a0d7d5c084be000ae7d5b3821cd68d6639aab/ http://autobuild.buildroot.net/results/624/62425cfdd4270bf1a9b15bd57490478b1c04c720/ http://autobuild.buildroot.net/results/d18/d189d7f75ffbb3349b68a5c312b14ea5638bb903/ http://autobuild.buildroot.net/results/7d3/7d386322cec452ee636adb20be0c1a31f38385fc/ And many more. Just like qemu for the target, host-qemu needs python (2.x) on the host. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qemu: add architecture dependencies for host qemuThomas Petazzoni2015-02-061-0/+9
| | | | | | | | | | | | | | The host-qemu package currently builds the user mode emulation, which isn't available on all architectures, so this commit adds the necessary architecture dependencies to the Config.in.host file. Fixes: http://autobuild.buildroot.net/results/4298ce40cbe3db50ffe53ecf6856523157df591d/ Reported-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qemu: add host/target Linux version checkThomas Petazzoni2014-12-231-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | Raise an error if the host is using an older kernel than the target. Since qemu-user passes emulated system calls to the host kernel, this prevents usage of qemu-user in situations where those system calls will fail. This is based on an original patch from Frank Hunleth <fhunleth@troodon-software.com>, but completely rewritten in a different way: * Instead of using shell based testing, we use pure make tests, which allows to detect the problem not when host-qemu starts to build, but at the very beginning of the entire Buildroot build. * Instead of looking at $(STAGING_DIR)/usr/include/linux/version.h (which requires having a dependency on the 'toolchain' package, which is a bit unusual for a host package), we use the BR2_TOOLCHAIN_HEADERS_AT_LEAST Config.in option which tells us the version of the kernel headers used in the toolchain. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
* qemu: add to host utilities menuFrank Hunleth2014-12-231-0/+8
| | | | | | | | | This allows qemu-user to be selected by the user. One use case for this is to call qemu-user from post build scripts to run regression tests against the build. Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupJerzy Grzegorek2014-12-201-5/+5
| | | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qemu: add support for FDTYann E. MORIN2014-11-182-1/+17
| | | | | | | | | | | | | | | | FDT is the Flat Device Tree, and allows QEMU to pass DTs to the VMs. Fixes: http://autobuild.buildroot.net/results/7e8/7e8c6fecbb22e8835269171b8bfe6d5bda300dcc/ http://autobuild.buildroot.net/results/5e0/5e0ec37894d3d88962fb0fee9a3753b83fe18b71/ http://autobuild.buildroot.net/results/936/936c565b6dc883beea4fac47c2cb2b47d3e84f66/ http://autobuild.buildroot.net/results/2ab/2abe26be5be5e72d6e166dd9b63b61523f63e2f5/ And many more. [Peter: add autobuilder references] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* host-qemu: fix installFrancois Perrad2014-11-151-1/+1
| | | | | | | | at configure time, PREFIX is already set with $(HOST_DIR)/usr so, don't use DESTDIR Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/qemu: fix specifying custom target sub-setYann E. MORIN2014-11-081-2/+12
| | | | | | | | | | The logic was wrong. Even though it was working for previous versions of QEMU, it changed in later versions, and thus now breaks on the version we currently package. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qemu: needs IPv6Peter Korsgaard2014-11-031-2/+4
| | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/f53/f53d4d47a6b65c40c1b122dfad61d9164e533bf0/ Actually only the linux-user code needs it, but with the _CUSTOM_TARGETS option it is difficult to ensure it only for userland emulation, so just add it to the main qemu option. At the same time add the missing wchar/mmu dependencies to the comment. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qemu: fix build when python3 is enabledPeter Korsgaard2014-11-031-1/+1
| | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/04e/04ec455e352319a46dc06def1762c65ad28a12a1/ http://autobuild.buildroot.net/results/f19/f1932657912674af444602ac59211b6caf6841ca/ http://autobuild.buildroot.net/results/18a/18a43df80616280506a44ac3abc327ddf0e7b079/ http://autobuild.buildroot.net/results/44c/44c00b50248018c4e81f4fbb1041d35b78f89640/ And many others. When python3 for the target is enabled, $(HOST_DIR)/usr/bin/python points to host-python3, not host-python - Breaking the build. Ensure host-python is used. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: indentation cleanupJerzy Grzegorek2014-11-021-39/+39
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: indentation cleanupJerzy Grzegorek2014-10-252-8/+8
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qemu: add SDL frontendsYann E. MORIN2014-10-122-1/+25
| | | | | | [Peter: use BR2_PACKAGE_QEMU_HAS_EMULS, only add SDL_CONFIG once] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/qemu: add fine-grained target selectionYann E. MORIN2014-10-122-0/+25
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/qemu: add basic target selectionYann E. MORIN2014-10-122-2/+30
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/qemu: build for the target (i386 or x86_64 only)Yann E. MORIN2014-10-122-0/+100
| | | | | | | | | | | | | | Untested for other architectures, so only enabled for known-working ones. We explicitly disable all features that depends on other packages, for now. Such features will be added one by one in the next patches. Features that do not rely on external packages are explicitly enabled to catch the dependencies on toolchain features early. [Peter: propagate dependencies from libglib2] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/qemu: bump versionYann E. MORIN2014-10-121-1/+1
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/qemu: do not use autotools for qemuYann E. MORIN2014-10-121-7/+11
| | | | | | | | | Although QEMU has a ./configure script, it is not an autotools-package, so switch to providing build and install commands, and to using generic-package. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* .mk files: bulk aligment and whitespace cleanup of assignmentsThomas De Schampheleire2014-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Buildroot coding style defines one space around make assignments and does not align the assignment symbols. This patch does a bulk fix of offending packages. The package infrastructures (or more in general assignments to calculated variable names, like $(2)_FOO) are not touched. Alignment of line continuation characters (\) is kept as-is. The sed command used to do this replacement is: find * -name "*.mk" | xargs sed -i \ -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*$#\1 \2#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\]\+\)$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\ \t]\+\s*\\\)\s*$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\(\s*\\\)#\1 \2\3#' Brief explanation of this command: ^\([A-Z0-9a-z_]\+\) a regular variable at the beginning of the line \([?:+]\?=\) any assignment character =, :=, ?=, += \([^\\]\+\) any string not containing a line continuation \([^\\ \t]\+\s*\\\) string, optional whitespace, followed by a line continuation character \(\s*\\\) optional whitespace, followed by a line continuation character Hence, the first subexpression handles empty assignments, the second handles regular assignments, the third handles regular assignments with line continuation, and the fourth empty assignments with line continuation. This expression was tested on following test text: (initial tab not included) FOO = spaces before FOO = spaces before and after FOO = tab before FOO = tab and spaces before FOO = tab after FOO = tab and spaces after FOO = spaces and tab after FOO = \ FOO = bar \ FOO = bar space \ FOO = \ GENIMAGE_DEPENDENCIES = host-pkgconf libconfuse FOO += spaces before FOO ?= spaces before and after FOO := FOO = FOO = FOO = FOO = $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C AT91BOOTSTRAP3_DEFCONFIG = \ AXEL_DISABLE_I18N=--i18n=0 After this bulk change, following manual fixups were done: - fix line continuation alignment in cegui06 and spice (the sed expression leaves the number of whitespace between the value and line continuation character intact, but the whitespace before that could have changed, causing misalignment. - qt5base was reverted, as this package uses extensive alignment which actually makes the code more readable. Finally, the end result was manually reviewed. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Cc: Yann E. Morin <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qemu: bump to version 2.1.0Francois Perrad2014-08-171-1/+1
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* arch: remove sh2, sh3 and sh3eb supportThomas Petazzoni2014-02-051-3/+0
| | | | | | | | | | | | This patch removes the sh2, sh3 and sh3eb support, because the user base is inexistent, and the Linux support for these architectures is poor. The sh2a support is preserved, because at least one user expressed interest in this architecture, and is actually using it: http://lists.busybox.net/pipermail/buildroot/2013-April/070399.html Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qemu: bump to version 1.6.0Francois Perrad2013-09-021-1/+1
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/qemu: bump version to 1.3.1Yann E. MORIN2013-02-051-1/+1
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qemu: bump to version 1.3.0Francois Perrad2013-01-121-2/+2
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/qemu: use autotools-package infrastructureYann E. MORIN2012-12-161-13/+4
| | | | | | | | | | | | Turns out that, with a little bit of tweaking, we can use the autotools-package infrastructure to build QEMU. That's better than defining all the _CMDS and using the generic-package infra. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Francois Perrad <fperrad@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/qemu: bump version to 1.2.2Yann E. MORIN2012-12-161-1/+1
| | | | | | | There are a bunch of important fixes since 1.2.1. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qemu: fix QEMU_USER variablePeter Korsgaard2012-12-141-1/+1
| | | | | Reported-by: François Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/qemu: bump versionYann E. MORIN2012-12-141-1/+1
| | | | | | | | | | | Bump QEMU to 1.2.1. Note: 1.3.0 is out now, but ./configure has changed a bit, and there are new dependencies, so the bump to 1.3.0 is postponed for a litle while... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Francois Perrad <fperrad@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/qemu: fix host dependenciesYann E. MORIN2012-12-141-1/+1
| | | | | | | | | | | 'host-*' packages should depends on other 'host-*' packages, not on target packages. Reported-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Francois Perrad <fperrad@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/qemu: fix host-qemu variable namesYann E. MORIN2012-12-141-11/+14
| | | | | | | | | | | With the upcoming introduction of qemu-on-target, we need to properly separate the variables used for the host qemu, from the variables used for the target qemu. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Francois Perrad <fperrad@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/qemu: add license informationYann E. MORIN2012-12-121-0/+5
| | | | | | | | QEMU is such a snakes-nest of licenses... :-/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Francois Perrad <fperrad@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qemu: needs libglib2Thomas Petazzoni2012-11-051-1/+1
| | | | | | | | Build error message is: glib-2.12 required to compile QEMU Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qemu: needs zlibThomas Petazzoni2012-11-051-1/+1
| | | | | | | | | Build error message is: Error: zlib check failed Make sure to have the zlib libs and headers installed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qemu: needs pkg-configThomas Petazzoni2012-11-051-1/+3
| | | | | | | | | | | | | | Fixes http://autobuild.buildroot.org/results/ccb7d6da503a81015275ff1e4ba9a564203932ec/build-end.log Even though the build failure happens on host-qemu, adding host-pkgconf to QEMU_DEPENDENCIES seems like the right thing to do since that this dependency will also be needed for the target qemu once it gets included. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* host-qemu: new packageFrancois Perrad2012-11-031-0/+82
only user mode for the current target architecture Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud