aboutsummaryrefslogtreecommitdiff
path: root/arch/openrisc/config.mk
blob: 13015ebc21ffb9cf91cdb1448754d86c1ad476d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# (C) Copyright 2011
# Julius Baxter <julius@opencores.org>
#
# SPDX-License-Identifier:	GPL-2.0+
#

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

LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds