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)
commit08cdbdec12ba17c2dd0a7601874b502eccf26a04
tree03116639f999ccebf6ea38dc1e9b0ce74b53552c
parentbbaef7c0430b45b7f7aa4ae9eed4385e7cb8ddea
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]