blob: 9902b9adba8dafff17e1da0a332ad5a3b510c57b [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
Masahiro Yamadaf0ac9e02014-02-28 14:33:30 +09008ifeq ($(CROSS_COMPILE),)
9CROSS_COMPILE := or32-elf-
10endif
Stefan Kristiansson952db942011-11-26 19:04:51 +000011
12# r10 used for global object pointer, already set in OR32 GCC but just to be
13# clear
14PLATFORM_CPPFLAGS += -DCONFIG_OPENRISC -D__OR1K__ -ffixed-r10
15
16CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000