2011-11-26 19:04:51 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2011
|
|
|
|
# Julius Baxter <julius@opencores.org>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2011-11-26 19:04:51 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
CROSS_COMPILE ?= or32-elf-
|
|
|
|
|
|
|
|
# r10 used for global object pointer, already set in OR32 GCC but just to be
|
|
|
|
# clear
|
|
|
|
PLATFORM_CPPFLAGS += -DCONFIG_OPENRISC -D__OR1K__ -ffixed-r10
|
|
|
|
|
|
|
|
CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000
|
2013-05-01 09:32:46 +00:00
|
|
|
|
|
|
|
LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds
|