toolchain: add support of ARCv2 architecture
authorJohn Crispin <john@openwrt.org>
Thu, 18 Feb 2016 08:22:17 +0000 (08:22 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 18 Feb 2016 08:22:17 +0000 (08:22 +0000)
commit7b821a5ae882cb0c70fd9d09ec9d5952985951dc
treeea5ce1cda7bc5f967859c6f85947ba857f241fcf
parent7a29f7c22d0d13f51411282d7294aec1862e235f
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>
SVN-Revision: 48739
toolchain/gcc/common.mk
toolchain/uClibc/common.mk
toolchain/uClibc/config/archs [new file with mode: 0644]