package: convert some Config.in selects to depends
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 5 Mar 2009 14:17:55 +0000 (14:17 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 5 Mar 2009 14:17:55 +0000 (14:17 -0000)
Patch by Olaf Rempel <razzor@kopf-tisch.de>.

quick grep showed theses invalid selects of toolchain options.

package/fuse/Config.in
package/lzma/Config.in
package/netkitbase/Config.in
package/qtopia4/Config.in

index afe64fff89d604fc980838ee77ceb987284d4f43..dffadf8a125b1691ac1cd066e65bee3f7cf1a63d 100644 (file)
@@ -1,7 +1,10 @@
 config BR2_PACKAGE_LIBFUSE
        bool "libfuse"
-       select BR2_LARGEFILE
+       depends on BR2_LARGEFILE
        help
          FUSE (Filesystem in UserSpacE)
 
          http://fuse.sourceforge.net/
+
+comment "libfuse requires a toolchain with LARGEFILE support"
+        depends on !BR2_LARGEFILE
index e2e44f3d6639a0e2914badd4e2a9efd480ea8dc5..9ca3c02180ebc35369558dbe124b010014828e36 100644 (file)
@@ -1,11 +1,14 @@
 config BR2_PACKAGE_LZMA_TARGET
        bool "Install lzma for the target system"
-       select BR2_GCC_CROSS_CXX
+       depends on BR2_GCC_CROSS_CXX
        help
          lzma utils on the target
 
          http://tukaani.org/lzma/
 
+comment "lzma requires a toolchain with C++ support"
+        depends on !BR2_GCC_CROSS_CXX
+
 config BR2_PACKAGE_LZMA_TARGET_HEADERS
        bool "lzma headers in target"
        depends on BR2_PACKAGE_LZMA_TARGET
index 410d28219faf4d65a984cc5115c83753f3a1fd8a..725e500ace665add60785a8c56de6476307f9eda 100644 (file)
@@ -1,7 +1,10 @@
 config BR2_PACKAGE_NETKITBASE
        bool "netkitbase"
-       select BR2_INET_RPC
+       depends on BR2_INET_RPC
        help
          Old-style inetd.
 
          ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
+
+comment "netkitbase requires a toolchain with RPC support"
+        depends on !BR2_INET_RPC
index 4477ee3fbe1943acb7b03d9effb680092999a77b..b88d19aa189d5b162833e10c080b319f64932f72 100644 (file)
@@ -1,14 +1,14 @@
 config BR2_PACKAGE_QTOPIA4
        bool "qtopia4"
        depends on BR2_INSTALL_LIBSTDCPP
-       select BR2_PTHREADS_NATIVE
+       depends on BR2_PTHREADS_NATIVE
        help
          Qtopia core 4.
 
          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