summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-10-04 15:43:03 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2014-10-04 15:43:23 -0500
commitc6897db9be6f5f93e6727a1fe26d89649682a221 (patch)
treef2aca2df7d694a88eefa58b2dad7648defff98a6 /target
parent9c4555f705fa9de174a946caee3557cb7c420679 (diff)
add support for tile toolchain building
Diffstat (limited to 'target')
-rw-r--r--target/arch.lst1
-rw-r--r--target/config/Config.in.cpu4
-rw-r--r--target/config/Config.in.libc.choice2
-rw-r--r--target/config/Config.in.toolchain1
-rw-r--r--target/tile/Makefile9
-rw-r--r--target/tile/systems/toolchain-tile10
6 files changed, 27 insertions, 0 deletions
diff --git a/target/arch.lst b/target/arch.lst
index 703793bb0..fd5c9f80c 100644
--- a/target/arch.lst
+++ b/target/arch.lst
@@ -14,6 +14,7 @@ ppc64
sparc
sparc64
sh
+tile
x86
x86_64
xtensa
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index c191d9f37..6039c01b4 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -46,6 +46,9 @@ config ADK_CPU_ATHLON
config ADK_CPU_ARC
boolean
+config ADK_CPU_TILE
+ boolean
+
config ADK_CPU_CRIS_V10
boolean
@@ -160,6 +163,7 @@ config ADK_TARGET_CPU_ARCH
default "sh4eb" if ADK_LINUX_SH && ADK_big
default "sparc" if ADK_LINUX_SPARC
default "sparc64" if ADK_LINUX_SPARC64
+ default "tilegx" if ADK_CPU_TILE
default "x86_64" if ADK_CPU_X86_64
default "x86_64" if ADK_CPU_AMDFAM10
default "xtensa" if ADK_LINUX_XTENSA
diff --git a/target/config/Config.in.libc.choice b/target/config/Config.in.libc.choice
index 01391f453..9f4772876 100644
--- a/target/config/Config.in.libc.choice
+++ b/target/config/Config.in.libc.choice
@@ -15,6 +15,7 @@ config ADK_TARGET_LIB_UCLIBC_NG
!ADK_LINUX_MICROBLAZE && \
!ADK_LINUX_SPARC64 && \
!ADK_LINUX_PPC64 && \
+ !ADK_LINUX_TILE && \
!ADK_x32
help
http://uclibc-ng.org
@@ -59,6 +60,7 @@ config ADK_TARGET_LIB_UCLIBC
!ADK_LINUX_MICROBLAZE && \
!ADK_LINUX_SPARC64 && \
!ADK_LINUX_PPC64 && \
+ !ADK_LINUX_TILE && \
!ADK_x32
help
http://uclibc.org
diff --git a/target/config/Config.in.toolchain b/target/config/Config.in.toolchain
index 0fcdc442b..47165b978 100644
--- a/target/config/Config.in.toolchain
+++ b/target/config/Config.in.toolchain
@@ -41,6 +41,7 @@ config ADK_TOOLCHAIN_GCC_4_8_3
depends on !ADK_LINUX_ARC
depends on !ADK_LINUX_AVR32
depends on !ADK_LINUX_CRIS
+ depends on !ADK_LINUX_TILE
config ADK_TOOLCHAIN_GCC_4_9_1
prompt "4.9.1"
diff --git a/target/tile/Makefile b/target/tile/Makefile
new file mode 100644
index 000000000..ebc17340e
--- /dev/null
+++ b/target/tile/Makefile
@@ -0,0 +1,9 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel.mk
+include $(ADK_TOPDIR)/mk/modules.mk
+include $(ADK_TOPDIR)/mk/kernel-build.mk
+include $(ADK_TOPDIR)/mk/image.mk
+
diff --git a/target/tile/systems/toolchain-tile b/target/tile/systems/toolchain-tile
new file mode 100644
index 000000000..bd6837dd8
--- /dev/null
+++ b/target/tile/systems/toolchain-tile
@@ -0,0 +1,10 @@
+config ADK_TARGET_SYSTEM_TOOLCHAIN_TILE
+ bool "Toolchain only"
+ select ADK_tile
+ select ADK_toolchain_tile
+ select ADK_CPU_TILE
+ select ADK_TARGET_TOOLCHAIN
+ select ADK_TARGET_PACKAGE_TXZ
+ help
+ TILE toolchain.
+