Daniel Hellstrom | 9d7c6b2 | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2007 |
| 3 | # Daniel Hellstrom, Gaisler Research, daniel@gaisler.com |
| 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Daniel Hellstrom | 9d7c6b2 | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 6 | # |
| 7 | |
Mike Frysinger | 8378ba4 | 2009-06-14 23:33:14 -0400 | [diff] [blame] | 8 | CROSS_COMPILE ?= sparc-elf- |
| 9 | |
Masahiro Yamada | 59f15f2 | 2014-02-04 17:24:24 +0900 | [diff] [blame] | 10 | CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 -L $(gcclibdir) \ |
| 11 | -T $(srctree)/$(src)/sparc.lds |
Mike Frysinger | 5b66044 | 2009-09-03 23:12:47 -0400 | [diff] [blame] | 12 | |
Daniel Hellstrom | 9d7c6b2 | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 13 | PLATFORM_CPPFLAGS += -DCONFIG_SPARC -D__sparc__ |