2 # Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
4 # SPDX-License-Identifier: GPL-2.0+
7 ifndef CONFIG_SYS_BIG_ENDIAN
8 CONFIG_SYS_LITTLE_ENDIAN = 1
11 ifdef CONFIG_SYS_LITTLE_ENDIAN
12 CROSS_COMPILE ?= arc-buildroot-linux-uclibc-
15 ifdef CONFIG_SYS_BIG_ENDIAN
16 CROSS_COMPILE ?= arceb-buildroot-linux-uclibc-
17 PLATFORM_LDFLAGS += -EB
20 PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -DCONFIG_ARC -gdwarf-2
22 LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds
24 # Needed for relocation
27 # Load address for standalone apps
28 CONFIG_STANDALONE_LOAD_ADDR ?= 0x82000000
30 # Support generic board on ARC
31 __HAVE_ARCH_GENERIC_BOARD := y