Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 1249065 | 2004-04-18 21:13:41 +0000 | [diff] [blame] | 2 | # |
Michal Simek | d1e72ac | 2008-03-28 11:58:45 +0100 | [diff] [blame] | 3 | # (C) Copyright 2007-2008 Michal Simek |
| 4 | # Michal SIMEK <monstr@monstr.eu> |
wdenk | 1249065 | 2004-04-18 21:13:41 +0000 | [diff] [blame] | 5 | # |
Michal Simek | d1e72ac | 2008-03-28 11:58:45 +0100 | [diff] [blame] | 6 | # (C) Copyright 2004 Atmark Techno, Inc. |
wdenk | 1249065 | 2004-04-18 21:13:41 +0000 | [diff] [blame] | 7 | # Yasushi SHOJI <yashi@atmark-techno.com> |
wdenk | 1249065 | 2004-04-18 21:13:41 +0000 | [diff] [blame] | 8 | |
Masahiro Yamada | f0ac9e0 | 2014-02-28 14:33:30 +0900 | [diff] [blame] | 9 | ifeq ($(CROSS_COMPILE),) |
| 10 | CROSS_COMPILE := mb- |
| 11 | endif |
Mike Frysinger | 8378ba4 | 2009-06-14 23:33:14 -0400 | [diff] [blame] | 12 | |
Wolfgang Denk | 33a5734 | 2011-02-04 14:25:17 +0100 | [diff] [blame] | 13 | CONFIG_STANDALONE_LOAD_ADDR ?= 0x80F00000 |
Mike Frysinger | 5b66044 | 2009-09-03 23:12:47 -0400 | [diff] [blame] | 14 | |
Michal Simek | 922ce20 | 2007-03-11 13:48:24 +0100 | [diff] [blame] | 15 | PLATFORM_CPPFLAGS += -ffixed-r31 -D__microblaze__ |
Michal Simek | 65e915c | 2014-05-08 16:08:44 +0200 | [diff] [blame] | 16 | |
| 17 | ifeq ($(CONFIG_SPL_BUILD),) |
| 18 | PLATFORM_CPPFLAGS += -fPIC |
| 19 | endif |