Explorar o código

xorg-server: not available with musl on ARM

Fixes #9606

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

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard %!s(int64=8) %!d(string=hai) anos
pai
achega
9daafbcb75
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      package/x11r7/xserver_xorg-server/Config.in

+ 5 - 0
package/x11r7/xserver_xorg-server/Config.in

@@ -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
 config BR2_PACKAGE_XSERVER_XORG_SERVER
 	bool "xorg-server"
 	bool "xorg-server"
 	depends on BR2_USE_MMU # fork()
 	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
 	# We need a SHA1 implementation. If either openssl or
 	# libgcrypt are already part of the build, we'll use one of
 	# libgcrypt are already part of the build, we'll use one of
 	# them, otherwise, use the small libsha1 library.
 	# them, otherwise, use the small libsha1 library.