From 490e84f5e146485a26dea2f41279a4ff13aaca05 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 4 Feb 2018 15:34:18 +0000 Subject: 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. --- extra/Configs/Config.in | 8 ++++++++ extra/Configs/Config.tile | 15 +++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 extra/Configs/Config.tile (limited to 'extra') 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 -- cgit v1.2.3