summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.compiler (renamed from target/config/Config.in.gcc)12
-rw-r--r--target/config/Config.in.tools5
2 files changed, 17 insertions, 0 deletions
diff --git a/target/config/Config.in.gcc b/target/config/Config.in.compiler
index 0c0cc3fc2..379046a5a 100644
--- a/target/config/Config.in.gcc
+++ b/target/config/Config.in.compiler
@@ -2,7 +2,19 @@
# material, please see the LICENCE file in the top-level directory.
choice
+prompt "Compiler"
+
+config ADK_BUILD_COMPILER_GCC
+ bool "gcc"
+
+config ADK_BUILD_COMPILER_LLVM
+ bool "llvm"
+
+endchoice
+
+choice
prompt "GCC version"
+depends on ADK_BUILD_COMPILER_GCC
default ADK_TOOLCHAIN_GCC_4_2_4 if ADK_TARGET_ARCH_METAG
default ADK_TOOLCHAIN_GCC_4_4_7 if ADK_TARGET_ARCH_AVR32
default ADK_TOOLCHAIN_GCC_4_8_5 if ADK_TARGET_ARCH_C6X
diff --git a/target/config/Config.in.tools b/target/config/Config.in.tools
index 51765ca33..9d9e874a4 100644
--- a/target/config/Config.in.tools
+++ b/target/config/Config.in.tools
@@ -57,6 +57,11 @@ config ADK_HOST_BUILD_BZIP2
bool
default n
+config ADK_HOST_BUILD_CMAKE
+ bool
+ default y if ADK_BUILD_COMPILER_LLVM
+ default n
+
config ADK_HOST_BUILD_FILE
bool
default n