Explorar o código

package: convert some Config.in selects to depends

Patch by Olaf Rempel <razzor@kopf-tisch.de>.

quick grep showed theses invalid selects of toolchain options.
Peter Korsgaard %!s(int64=16) %!d(string=hai) anos
pai
achega
2e1ca24a27

+ 4 - 1
package/fuse/Config.in

@@ -1,7 +1,10 @@
 config BR2_PACKAGE_LIBFUSE
 config BR2_PACKAGE_LIBFUSE
 	bool "libfuse"
 	bool "libfuse"
-	select BR2_LARGEFILE
+	depends on BR2_LARGEFILE
 	help
 	help
 	  FUSE (Filesystem in UserSpacE)
 	  FUSE (Filesystem in UserSpacE)
 
 
 	  http://fuse.sourceforge.net/
 	  http://fuse.sourceforge.net/
+
+comment "libfuse requires a toolchain with LARGEFILE support"
+        depends on !BR2_LARGEFILE

+ 4 - 1
package/lzma/Config.in

@@ -1,11 +1,14 @@
 config BR2_PACKAGE_LZMA_TARGET
 config BR2_PACKAGE_LZMA_TARGET
 	bool "Install lzma for the target system"
 	bool "Install lzma for the target system"
-	select BR2_GCC_CROSS_CXX
+	depends on BR2_GCC_CROSS_CXX
 	help
 	help
 	  lzma utils on the target
 	  lzma utils on the target
 
 
 	  http://tukaani.org/lzma/
 	  http://tukaani.org/lzma/
 
 
+comment "lzma requires a toolchain with C++ support"
+        depends on !BR2_GCC_CROSS_CXX
+
 config BR2_PACKAGE_LZMA_TARGET_HEADERS
 config BR2_PACKAGE_LZMA_TARGET_HEADERS
 	bool "lzma headers in target"
 	bool "lzma headers in target"
 	depends on BR2_PACKAGE_LZMA_TARGET
 	depends on BR2_PACKAGE_LZMA_TARGET

+ 4 - 1
package/netkitbase/Config.in

@@ -1,7 +1,10 @@
 config BR2_PACKAGE_NETKITBASE
 config BR2_PACKAGE_NETKITBASE
 	bool "netkitbase"
 	bool "netkitbase"
-	select BR2_INET_RPC
+	depends on BR2_INET_RPC
 	help
 	help
 	  Old-style inetd.
 	  Old-style inetd.
 
 
 	  ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
 	  ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
+
+comment "netkitbase requires a toolchain with RPC support"
+        depends on !BR2_INET_RPC

+ 3 - 3
package/qtopia4/Config.in

@@ -1,14 +1,14 @@
 config BR2_PACKAGE_QTOPIA4
 config BR2_PACKAGE_QTOPIA4
 	bool "qtopia4"
 	bool "qtopia4"
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_INSTALL_LIBSTDCPP
-	select BR2_PTHREADS_NATIVE
+	depends on BR2_PTHREADS_NATIVE
 	help
 	help
 	  Qtopia core 4.
 	  Qtopia core 4.
 
 
 	  http://www.trolltech.com/
 	  http://www.trolltech.com/
 
 
-comment "qtopia4 requires a toolchain with C++ support enabled"
-	depends on !BR2_INSTALL_LIBSTDCPP
+comment "qtopia4 requires a toolchain with C++ and NPTL support enabled"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_PTHREADS_NATIVE
 
 
 if BR2_PACKAGE_QTOPIA4
 if BR2_PACKAGE_QTOPIA4