mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
7b821a5ae8
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
11 lines
250 B
Plaintext
11 lines
250 B
Plaintext
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
|