tar/coreutils: use depends rather than select for toolchain options
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 1 Mar 2009 20:20:15 +0000 (20:20 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 1 Mar 2009 20:20:15 +0000 (20:20 -0000)
package/coreutils/Config.in
package/tar/Config.in

index 2d0bf6d7d7f77538b651a69d57d44fc6a98b8ddf..5dfe43c9de82ee271a2356a5ce6f41d8300a6e3d 100644 (file)
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_COREUTILS
        bool "coreutils"
-       depends on BR2_USE_WCHAR
-       select BR2_UCLIBC_PROGRAM_INVOCATION
+       depends on BR2_USE_WCHAR && BR2_UCLIBC_PROGRAM_INVOCATION
        help
          All of the basic file/text/shell utilities.  These are the
          core utilities which are expected to exist on every system.
@@ -13,3 +12,6 @@ config BR2_PACKAGE_COREUTILS
          - whoami, who, etc...
 
          http://www.gnu.org/software/coreutils/
+
+comment "coreutils requires a toolchain with WCHAR and PROGRAM_INVOCATION support"
+       depends on !(BR2_USE_WCHAR && BR2_UCLIBC_PROGRAM_INVOCATION)
index e614b921159700550c14a59467ceef6c0a868d96..a257949398eb6c4ddb3b6baf3b7822791bcc4be1 100644 (file)
@@ -1,9 +1,11 @@
 config BR2_PACKAGE_TAR
        bool "tar"
-       depends on BR2_USE_WCHAR
-       select BR2_UCLIBC_PROGRAM_INVOCATION
+       depends on BR2_USE_WCHAR && BR2_UCLIBC_PROGRAM_INVOCATION
        help
          A program that saves many files together into a single tape or disk
          archive, and can restore individual files from the archive.
 
          http://www.gnu.org/software/tar/
+
+comment "tar requires a toolchain with WCHAR and PROGRAM_INVOCATION support"
+       depends on !(BR2_USE_WCHAR && BR2_UCLIBC_PROGRAM_INVOCATION)