gcc: native toolchain needs BR2_HAVE_DEVFILES
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 11 Dec 2009 22:55:17 +0000 (23:55 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 11 Dec 2009 22:55:17 +0000 (23:55 +0100)
Native toolchain doesn't make much sense without include / .a files.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/gcc/Config.in.2

index 78208dcadf17e9f919f81261ded181e6c5416b28..d9ebfcdaeb215a72a7f5c1d5ec5ae75e3fba6d93 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_GCC_TARGET
        bool "native toolchain in the target filesystem"
+       depends on BR2_HAVE_DEVFILES
        help
          If you want the target system to be able to run
          binutils/gcc and compile native code, say Y here.
@@ -12,3 +13,6 @@ config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
          Any additional target gcc options you may want to include....
          Including, but not limited to --disable-checking etc.
          Refer to */configure in your gcc sources.
+
+comment "native toolchain needs development files in target filesystem"
+       depends on !BR2_HAVE_DEVFILES