xorg-server: not available with musl on ARM
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 20 Jan 2017 15:26:01 +0000 (16:26 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 21 Jan 2017 12:55:07 +0000 (13:55 +0100)
Fixes #9606

xserver uses inb/outb on arm, which aren't available with musl.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/x11r7/xserver_xorg-server/Config.in

index 0f1d1fecc11c865e4ef3570e9baa686a48b7c580..1c8f8cfdbf014fbcb2dc3492e48adb660958e777 100644 (file)
@@ -1,6 +1,11 @@
+comment "xorg-server needs a glibc or uClibc toolchain"
+       depends on BR2_arm && BR2_TOOLCHAIN_USES_MUSL
+
 config BR2_PACKAGE_XSERVER_XORG_SERVER
        bool "xorg-server"
        depends on BR2_USE_MMU # fork()
+       # xserver uses inb/outb on arm, which aren't available with musl
+       depends on !(BR2_arm && BR2_TOOLCHAIN_USES_MUSL)
        # We need a SHA1 implementation. If either openssl or
        # libgcrypt are already part of the build, we'll use one of
        # them, otherwise, use the small libsha1 library.