summaryrefslogtreecommitdiffstats
path: root/package/qemu
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2016-11-06 17:04:48 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-11-06 23:02:13 +0100
commitfc1d28891f52c3ccce1a01ad5ad1a9db23300495 (patch)
treebcc74a220001c5df111d521beb8471bfb160866a /package/qemu
parentcbf9208549d179c0765e729ab463debebfd60bd6 (diff)
downloadbuildroot-fc1d28891f52c3ccce1a01ad5ad1a9db23300495.tar.gz
buildroot-fc1d28891f52c3ccce1a01ad5ad1a9db23300495.zip
package/qemu: disable Qemu user-land emulation for musl toolchains
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>
Diffstat (limited to 'package/qemu')
-rw-r--r--package/qemu/Config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/qemu/Config.in b/package/qemu/Config.in
index ea6b94605c..8bae5f40ec 100644
--- a/package/qemu/Config.in
+++ b/package/qemu/Config.in
@@ -69,11 +69,16 @@ comment "systems emulation needs a toolchain w/ dynamic library"
config BR2_PACKAGE_QEMU_LINUX_USER
bool "Enable all Linux user-land emulation"
+ # Incompatible "struct sigevent" definition on musl
+ depends on !BR2_TOOLCHAIN_USES_MUSL
help
Say 'y' to build all Linux user-land emulators that QEMU supports.
# Note: bsd-user can not be build on Linux
+comment "Linux user-land emulation needs a glibc or uClibc toolchain"
+ depends on BR2_TOOLCHAIN_USES_MUSL
+
endif # BR2_PACKAGE_QEMU_CUSTOM_TARGETS == ""
config BR2_PACKAGE_QEMU_HAS_EMULS
OpenPOWER on IntegriCloud