blob: 3c5866a29528a76f606ffda5448ae37c388713ce [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
wdenk507bbe32004-04-18 21:13:41 +00002#
Michal Simek62032de2008-03-28 11:58:45 +01003# (C) Copyright 2007-2008 Michal Simek
4# Michal SIMEK <monstr@monstr.eu>
wdenk507bbe32004-04-18 21:13:41 +00005#
Michal Simek62032de2008-03-28 11:58:45 +01006# (C) Copyright 2004 Atmark Techno, Inc.
wdenk507bbe32004-04-18 21:13:41 +00007# Yasushi SHOJI <yashi@atmark-techno.com>
wdenk507bbe32004-04-18 21:13:41 +00008
Masahiro Yamada9b6e2c32014-02-28 14:33:30 +09009ifeq ($(CROSS_COMPILE),)
10CROSS_COMPILE := mb-
11endif
Mike Frysinger1ea6bcd2009-06-14 23:33:14 -040012
Wolfgang Denk8ae86b72011-02-04 14:25:17 +010013CONFIG_STANDALONE_LOAD_ADDR ?= 0x80F00000
Mike Frysinger262ae0a2009-09-03 23:12:47 -040014
Michal Simekcfc67112007-03-11 13:48:24 +010015PLATFORM_CPPFLAGS += -ffixed-r31 -D__microblaze__
Michal Simeke945f6d2014-05-08 16:08:44 +020016
17ifeq ($(CONFIG_SPL_BUILD),)
18PLATFORM_CPPFLAGS += -fPIC
19endif