From: Peter Korsgaard Date: Thu, 5 Mar 2009 14:17:55 +0000 (-0000) Subject: package: convert some Config.in selects to depends X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e1ca24a270ce8351ec0057102ef8bf03f723673;p=buildroot.git package: convert some Config.in selects to depends Patch by Olaf Rempel . quick grep showed theses invalid selects of toolchain options. --- diff --git a/package/fuse/Config.in b/package/fuse/Config.in index afe64fff89..dffadf8a12 100644 --- a/package/fuse/Config.in +++ b/package/fuse/Config.in @@ -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 diff --git a/package/lzma/Config.in b/package/lzma/Config.in index e2e44f3d66..9ca3c02180 100644 --- a/package/lzma/Config.in +++ b/package/lzma/Config.in @@ -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 diff --git a/package/netkitbase/Config.in b/package/netkitbase/Config.in index 410d28219f..725e500ace 100644 --- a/package/netkitbase/Config.in +++ b/package/netkitbase/Config.in @@ -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 diff --git a/package/qtopia4/Config.in b/package/qtopia4/Config.in index 4477ee3fbe..b88d19aa18 100644 --- a/package/qtopia4/Config.in +++ b/package/qtopia4/Config.in @@ -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