3 # Julius Baxter <julius@opencores.org>
5 # SPDX-License-Identifier: GPL-2.0+
8 CROSS_COMPILE ?= or32-elf-
10 # r10 used for global object pointer, already set in OR32 GCC but just to be
12 PLATFORM_CPPFLAGS += -DCONFIG_OPENRISC -D__OR1K__ -ffixed-r10
14 CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000
16 LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds