summaryrefslogtreecommitdiff
path: root/toolchain/Config.in
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-02-06 18:19:38 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-02-06 18:19:38 +0000
commit02f71aab47835e7220e2b1039bcda4d0c5657db0 (patch)
treec4a14c8fb83fdec69a34065d93777e9960ea0831 /toolchain/Config.in
parent4cdc4206218e8e2ed3bc5a31e2b5e157ec43f67c (diff)
Support building using an external toolchain. Questions to the mailing list and all other comments to <biteme@devnull.com>.
Diffstat (limited to 'toolchain/Config.in')
-rw-r--r--toolchain/Config.in75
1 files changed, 14 insertions, 61 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 82a3621d0..9b464f2b4 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -1,67 +1,20 @@
#
-menu "Toolchain Options"
-
-
-source "toolchain/kernel-headers/Config.in"
-source "toolchain/uClibc/Config.in"
-source "toolchain/binutils/Config.in"
-source "toolchain/gcc/Config.in"
-source "toolchain/ccache/Config.in"
-source "toolchain/gdb/Config.in"
-source "toolchain/elf2flt/Config.in"
-source "toolchain/mklibs/Config.in"
-
-comment "Common Toolchain Options"
-
-source "toolchain/sstrip/Config.in"
-
-config BR2_ENABLE_MULTILIB
- bool "Enable multilib support?"
- default n
- help
- If you want multilib enabled, enable this...
-
-config BR2_LARGEFILE
- bool "Enable large file (files > 2 GB) support?"
- depends on !BR2_cris
- default y
- help
- Enable large file (files > 2 GB) support
-
-config BR2_SOFT_FLOAT
- bool "Use software floating point by default"
- default n
- depends on BR2_arm || BR2_armeb || BR2_mips || BR2_mipsel || BR2_powerpc
- help
- If your target CPU does not have a Floating Point Unit (FPU) or a
- kernel FPU emulator, but you still wish to support floating point
- functions, then everything will need to be compiled with soft
- floating point support (-msoft-float).
-
- Most people will answer N.
-
-#config BR2_SOFT_FLOAT_FP
-# bool "Use softfp"
-# default n
-
-config BR2_TARGET_OPTIMIZATION
- string "Target Optimizations"
- default "-Os -pipe"
- help
- Optimizations to use when building for the target host.
-
-config BR2_CROSS_TOOLCHAIN_TARGET_UTILS
- bool "Include target utils in cross toolchain"
- default y
+choice
+ prompt "Toolchain type"
+ default BR2_TOOLCHAIN_BUILDROOT
help
- When using buildroot to build a deployable cross toolchain,
- it is handy to include certain target apps with that toolchain
- as a convenience.
- Examples include ldd, gdbserver, and strace.
+ Select whether to use the toolchain built by the buildroot
+ system or an external pre-built toolchain.
- Answer Y if you want these apps (if built) copied into the
- cross toolchain dir under <arch>-linux-uclibc/target_utils/.
+config BR2_TOOLCHAIN_BUILDROOT
+ bool
+ prompt "Buildroot toolchain"
-endmenu
+config BR2_TOOLCHAIN_EXTERNAL
+ bool
+ prompt " External toolchain"
+endchoice
+source "toolchain/Config.in.2"
+source "toolchain/external-toolchain/Config.in"