Stefan Kristiansson | 952db94 | 2011-11-26 19:04:51 +0000 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2011 |
| 3 | # Julius Baxter <julius@opencores.org> |
| 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Stefan Kristiansson | 952db94 | 2011-11-26 19:04:51 +0000 | [diff] [blame] | 6 | # |
| 7 | |
| 8 | CROSS_COMPILE ?= or32-elf- |
| 9 | |
| 10 | # r10 used for global object pointer, already set in OR32 GCC but just to be |
| 11 | # clear |
| 12 | PLATFORM_CPPFLAGS += -DCONFIG_OPENRISC -D__OR1K__ -ffixed-r10 |
| 13 | |
| 14 | CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000 |
Stefan Kristiansson | d098f95 | 2013-05-01 09:32:46 +0000 | [diff] [blame] | 15 | |
| 16 | LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds |