cwiid: add missing indirect dependency on atomics for wmgui
authorArnout Vandecappelle <arnout@mind.be>
Wed, 4 Feb 2015 00:34:13 +0000 (01:34 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 7 Feb 2015 20:21:03 +0000 (21:21 +0100)
Also add a comment for cwiid itself.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/cwiid/Config.in

index da49836be2eafd6120a47ae96731abea9105a99a..0859dacbb6fbd5f3ff60969fb75eff1981aed459 100644 (file)
@@ -15,6 +15,7 @@ config BR2_PACKAGE_CWIID
 if BR2_PACKAGE_CWIID
 config BR2_PACKAGE_CWIID_WMGUI
        bool "wmgui"
+       depends on BR2_ARCH_HAS_ATOMICS # libgtk2 -> cairo
        depends on BR2_PACKAGE_XORG7 # libgtk2
        depends on BR2_USE_WCHAR # libgtk2 -> libglib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> libglib2
@@ -23,3 +24,8 @@ config BR2_PACKAGE_CWIID_WMGUI
        select BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_LIBGTK2
 endif
+
+comment "cwiid needs a toolchain w/ dynamic lib, threads, wchar"
+       depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_avr32
+       depends on !BR2_USE_MMU