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
|
|
|
#
|
|
|
|
|
2014-02-28 05:33:30 +00:00
|
|
|
ifeq ($(CROSS_COMPILE),)
|
2015-11-08 14:37:15 +00:00
|
|
|
CROSS_COMPILE := or1k-elf-
|
2014-02-28 05:33:30 +00:00
|
|
|
endif
|
2011-11-26 19:04:51 +00:00
|
|
|
|
|
|
|
# r10 used for global object pointer, already set in OR32 GCC but just to be
|
|
|
|
# clear
|
2014-07-30 05:08:23 +00:00
|
|
|
PLATFORM_CPPFLAGS += -D__OR1K__ -ffixed-r10
|
2011-11-26 19:04:51 +00:00
|
|
|
|
|
|
|
CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000
|