diff options
author | John Crispin <blogic@openwrt.org> | 2016-02-18 08:22:17 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-02-18 08:22:17 +0000 |
commit | d698d2584beff7860f1784873d1e97038620528a (patch) | |
tree | 03116639f999ccebf6ea38dc1e9b0ce74b53552c /toolchain/uClibc/config | |
parent | 1baafddcc3230fe12b25f309b79e7ab08ce0d5c6 (diff) | |
download | master-187ad058-d698d2584beff7860f1784873d1e97038620528a.tar.gz master-187ad058-d698d2584beff7860f1784873d1e97038620528a.tar.bz2 master-187ad058-d698d2584beff7860f1784873d1e97038620528a.zip |
toolchain: add support of ARCv2 architecture
This change adds support of ARC ISAv2 processors in
OpenWRT toolchain.
In general gcc for ARC may compile code for both ISA versions
simultaneously but libgcc will be built only for default
architecture that's why it's necessary to specify --with-cpu
on gcc configuration.
As for uClibc we need to use different configurations for
different ARC ISAs.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48739 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc/config')
-rw-r--r-- | toolchain/uClibc/config/archs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/toolchain/uClibc/config/archs b/toolchain/uClibc/config/archs new file mode 100644 index 0000000000..961628ed8c --- /dev/null +++ b/toolchain/uClibc/config/archs @@ -0,0 +1,10 @@ +ARCH_ANY_ENDIAN=y +ARCH_LITTLE_ENDIAN=y +ARCH_WANTS_LITTLE_ENDIAN=y +TARGET_ARCH="arc" +TARGET_arc=y +# CONFIG_ARC_CPU_700 is not set +CONFIG_ARC_CPU_HS=y +CONFIG_ARC_PAGE_SIZE_8K=y +# CONFIG_ARC_PAGE_SIZE_16K is not set +# CONFIG_ARC_PAGE_SIZE_4K is not set |