summaryrefslogtreecommitdiff
path: root/cleopatre/buildroot/toolchain/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'cleopatre/buildroot/toolchain/Config.in')
-rw-r--r--cleopatre/buildroot/toolchain/Config.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/cleopatre/buildroot/toolchain/Config.in b/cleopatre/buildroot/toolchain/Config.in
new file mode 100644
index 0000000000..7401578709
--- /dev/null
+++ b/cleopatre/buildroot/toolchain/Config.in
@@ -0,0 +1,34 @@
+menu "Toolchain"
+choice
+ prompt "Toolchain type"
+ default BR2_TOOLCHAIN_BUILDROOT if !BR2_avr32
+ default BR2_TOOLCHAIN_EXTERNAL_SOURCE if BR2_avr32
+ help
+ Select whether to use the toolchain provided by buildroot
+ or an external toolchain.
+
+ Some vendors provide toolchains in binary form, some in
+ source form.
+
+config BR2_TOOLCHAIN_BUILDROOT
+ bool "Buildroot toolchain"
+ depends on !BR2_avr32
+
+config BR2_TOOLCHAIN_EXTERNAL
+ bool "External binary toolchain"
+
+config BR2_TOOLCHAIN_EXTERNAL_SOURCE
+ bool "External source toolchain"
+endchoice
+
+config BR2_TOOLCHAIN_SOURCE
+ bool
+ default y if BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_EXTERNAL_SOURCE
+ default n if BR2_TOOLCHAIN_EXTERNAL
+
+source "target/device/Config.in.toolchain"
+
+source "toolchain/Config.in.2"
+source "toolchain/external-toolchain/Config.in"
+
+endmenu