瀏覽代碼

tar/coreutils: use depends rather than select for toolchain options

Peter Korsgaard 16 年之前
父節點
當前提交
5ae3eb1e10
共有 2 個文件被更改,包括 8 次插入4 次删除
  1. 4 2
      package/coreutils/Config.in
  2. 4 2
      package/tar/Config.in

+ 4 - 2
package/coreutils/Config.in

@@ -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)

+ 4 - 2
package/tar/Config.in

@@ -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)