toolchain: add support of ARCv2 architecture
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Feb 2016 08:22:17 +0000 (08:22 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Feb 2016 08:22:17 +0000 (08:22 +0000)
commit0f709bcd40ff8a751b786f9d1d38765af6c24090
tree03116639f999ccebf6ea38dc1e9b0ce74b53552c
parentab4230879b8219eee87d001e26b5cac6ff81f018
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
toolchain/gcc/common.mk
toolchain/uClibc/common.mk
toolchain/uClibc/config/archs [new file with mode: 0644]