summaryrefslogtreecommitdiff
path: root/extra/Configs
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-02-04 15:34:18 +0000
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-03-12 20:11:14 +0100
commit490e84f5e146485a26dea2f41279a4ff13aaca05 (patch)
tree03b9eab7297c5ad571b548b5ed916f17be78bf48 /extra/Configs
parent6e627523ee4b3fc00c30dcff74c2adf93e2b6840 (diff)
tile: add basic support for tilegx
This adds basic support for tile architecture. Only static binaries, no ld.so or threading support. Tested with qemu-tilegx only.
Diffstat (limited to 'extra/Configs')
-rw-r--r--extra/Configs/Config.in8
-rw-r--r--extra/Configs/Config.tile15
2 files changed, 23 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index deb165a8e..fcaa1a7fa 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -40,6 +40,7 @@ choice
default TARGET_sh if DESIRED_TARGET_ARCH = "sh"
default TARGET_sparc if DESIRED_TARGET_ARCH = "sparc"
default TARGET_sparc64 if DESIRED_TARGET_ARCH = "sparc64"
+ default TARGET_tile if DESIRED_TARGET_ARCH = "tile"
default TARGET_x86_64 if DESIRED_TARGET_ARCH = "x86_64"
default TARGET_xtensa if DESIRED_TARGET_ARCH = "xtensa"
help
@@ -125,6 +126,9 @@ config TARGET_sparc
config TARGET_sparc64
bool "sparc64"
+config TARGET_tile
+ bool "tile"
+
config TARGET_x86_64
bool "x86_64"
@@ -232,6 +236,10 @@ if TARGET_sparc64
source "extra/Configs/Config.sparc64"
endif
+if TARGET_tile
+source "extra/Configs/Config.tile"
+endif
+
if TARGET_x86_64
source "extra/Configs/Config.x86_64"
endif
diff --git a/extra/Configs/Config.tile b/extra/Configs/Config.tile
new file mode 100644
index 000000000..489431a3e
--- /dev/null
+++ b/extra/Configs/Config.tile
@@ -0,0 +1,15 @@
+#
+# For a description of the syntax of this configuration file,
+# see extra/config/Kconfig-language.txt
+#
+
+config TARGET_ARCH
+ string
+ default "tile"
+
+config FORCE_OPTIONS_FOR_ARCH
+ bool
+ default y
+ select ARCH_BIG_ENDIAN
+ select ARCH_HAS_MMU
+ select ARCH_HAS_NO_LDSO