From a61d33a3443e535ce2fde53ffe9fa3161fb6afea Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Tue, 25 Dec 2012 08:11:29 +0000 Subject: package/spice: don't enable GUI if dependencies not met The spice GUI selects unconditionally selects cegui06, but cegui06 requires threads and C++, so spice GUI must also depend on threads and C++. Fixes: http://autobuild.buildroot.net/results/37f8ee90bb4348db97daef83493005c42a193b91/ Merry X-Mas! ;-) [Peter: add SPICE_CLIENT dependency] Signed-off-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- package/spice/Config.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'package/spice') diff --git a/package/spice/Config.in b/package/spice/Config.in index 1b264e7e2..0c2c7a643 100644 --- a/package/spice/Config.in +++ b/package/spice/Config.in @@ -35,8 +35,14 @@ config BR2_PACKAGE_SPICE_CLIENT select BR2_PACKAGE_XLIB_LIBXFIXES select BR2_PACKAGE_XLIB_LIBXRANDR +comment "GUI requires a toolchain with threads and C++" + depends on BR2_PACKAGE_SPICE_CLIENT + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP + config BR2_PACKAGE_SPICE_GUI bool "Enable GUI" + depends on BR2_TOOLCHAIN_HAS_THREADS # cegui06 + depends on BR2_INSTALL_LIBSTDCPP # cegui06 depends on BR2_PACKAGE_SPICE_CLIENT select BR2_PACKAGE_CEGUI06 help -- cgit v1.2.3