blob: 13015ebc21ffb9cf91cdb1448754d86c1ad476d9 [file] [log] [blame]
Stefan Kristiansson952db942011-11-26 19:04:51 +00001#
2# (C) Copyright 2011
3# Julius Baxter <julius@opencores.org>
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Stefan Kristiansson952db942011-11-26 19:04:51 +00006#
7
8CROSS_COMPILE ?= or32-elf-
9
10# r10 used for global object pointer, already set in OR32 GCC but just to be
11# clear
12PLATFORM_CPPFLAGS += -DCONFIG_OPENRISC -D__OR1K__ -ffixed-r10
13
14CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000
Stefan Kristianssond098f952013-05-01 09:32:46 +000015
16LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds