summaryrefslogtreecommitdiff
path: root/target/config/Config.in.compiler
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/config/Config.in.compiler
parentd9b890f651d639cae06fa2c475a49722c3ea356f (diff)
add support to play with LLVM/clang
Diffstat (limited to 'target/config/Config.in.compiler')
-rw-r--r--target/config/Config.in.compiler117
1 files changed, 117 insertions, 0 deletions
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
new file mode 100644
index 000000000..379046a5a
--- /dev/null
+++ b/target/config/Config.in.compiler
@@ -0,0 +1,117 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# 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
+default ADK_TOOLCHAIN_GCC_4_9_3 if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ARCH_SH
+default ADK_TOOLCHAIN_GCC_4_9_3 if ADK_TARGET_SYSTEM_KINETIS_K70
+default ADK_TOOLCHAIN_GCC_4_8_ARC if ADK_TARGET_ARCH_ARC
+default ADK_TOOLCHAIN_GCC_5_3_OR1K if ADK_TARGET_ARCH_OR1K
+default ADK_TOOLCHAIN_GCC_6_1_0 if ADK_TARGET_ARCH_XTENSA
+default ADK_TOOLCHAIN_GCC_6_1_0 if ADK_TARGET_ARCH_BFIN
+default ADK_TOOLCHAIN_GCC_5_3_0
+
+config ADK_TOOLCHAIN_GCC_GIT
+ bool "git"
+ depends on !ADK_TARGET_ARCH_ARC
+ depends on !ADK_TARGET_ARCH_AVR32
+ depends on !ADK_TARGET_ARCH_METAG
+ depends on !ADK_TARGET_ARCH_OR1K
+ select ADK_DISABLE_HONOUR_CFLAGS
+
+config ADK_TOOLCHAIN_GCC_6_1_0
+ bool "6.1.0"
+ depends on !ADK_TARGET_ARCH_ARC
+ depends on !ADK_TARGET_ARCH_AVR32
+ depends on !ADK_TARGET_ARCH_METAG
+ depends on !ADK_TARGET_ARCH_OR1K
+ select ADK_DISABLE_HONOUR_CFLAGS
+
+config ADK_TOOLCHAIN_GCC_5_3_0
+ bool "5.3.0"
+ depends on !ADK_TARGET_ARCH_ARC
+ depends on !ADK_TARGET_ARCH_AVR32
+ depends on !ADK_TARGET_ARCH_BFIN
+ depends on !ADK_TARGET_ARCH_C6X
+ depends on !ADK_TARGET_ARCH_FRV
+ depends on !ADK_TARGET_ARCH_H8300
+ depends on !ADK_TARGET_ARCH_M32R
+ depends on !ADK_TARGET_ARCH_METAG
+ depends on !ADK_TARGET_ARCH_OR1K
+ depends on !ADK_TARGET_SYSTEM_KINETIS_K70
+ depends on !(ADK_TARGET_LIB_GLIBC && ADK_TARGET_ARCH_SH)
+
+config ADK_TOOLCHAIN_GCC_4_9_3
+ bool "4.9.3"
+ depends on !ADK_TARGET_ARCH_ARC
+ depends on !ADK_TARGET_ARCH_AVR32
+ depends on !ADK_TARGET_ARCH_BFIN
+ depends on !ADK_TARGET_ARCH_C6X
+ depends on !ADK_TARGET_ARCH_H8300
+ depends on !ADK_TARGET_ARCH_METAG
+ depends on !ADK_TARGET_ARCH_OR1K
+ depends on !ADK_TARGET_ARCH_TILE
+
+config ADK_TOOLCHAIN_GCC_4_8_5
+ bool "4.8.5"
+ depends on !ADK_TARGET_ARCH_BFIN
+ depends on !ADK_TARGET_ARCH_AARCH64
+ depends on !ADK_TARGET_ARCH_ARC
+ depends on !ADK_TARGET_ARCH_AVR32
+ depends on !ADK_TARGET_ARCH_CRIS
+ depends on !ADK_TARGET_ARCH_TILE
+ depends on !ADK_TARGET_ARCH_H8300
+ depends on !ADK_TARGET_ARCH_METAG
+ depends on !ADK_TARGET_ARCH_OR1K
+
+config ADK_TOOLCHAIN_GCC_5_3_OR1K
+ bool "5.3-or1k"
+ select ADK_DISABLE_HONOUR_CFLAGS
+ depends on ADK_TARGET_ARCH_OR1K
+
+config ADK_TOOLCHAIN_GCC_4_8_ARC
+ bool "4.8-arc"
+ depends on ADK_TARGET_ARCH_ARC
+ select ADK_DISABLE_HONOUR_CFLAGS
+
+config ADK_TOOLCHAIN_GCC_4_7_4
+ bool "4.7.4"
+ depends on !ADK_TARGET_ARCH_BFIN
+ depends on !ADK_TARGET_ARCH_AARCH64
+ depends on !ADK_TARGET_ARCH_ARC
+ depends on !ADK_TARGET_ARCH_AVR32
+ depends on !ADK_TARGET_ARCH_CRIS
+ depends on !ADK_TARGET_ARCH_TILE
+ depends on !ADK_TARGET_ARCH_H8300
+ depends on !ADK_TARGET_ARCH_METAG
+ depends on !ADK_TARGET_ARCH_OR1K
+
+config ADK_TOOLCHAIN_GCC_4_4_7
+ bool "4.4.7"
+ depends on ADK_TARGET_ARCH_AVR32
+
+config ADK_TOOLCHAIN_GCC_4_2_4
+ bool "4.2.4"
+ depends on ADK_TARGET_ARCH_METAG
+ select ADK_DISABLE_HONOUR_CFLAGS
+ select ADK_TOOLCHAIN_GCC_OLD
+
+endchoice
+
+config ADK_TOOLCHAIN_GCC_OLD
+ bool