summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-05-12 21:55:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-05-12 21:55:06 +0200
commit84bce194674cc57e556ec52826a6014518eb4dd1 (patch)
treee69db53d08c10adb244576950bdec51c6ab5f153 /target
parentd9b890f651d639cae06fa2c475a49722c3ea356f (diff)
add support to play with LLVM/clang
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