1# SPDX-License-Identifier: GPL-2.0+ 2# 3# (C) Copyright 2007-2008 Michal Simek 4# Michal SIMEK <monstr@monstr.eu> 5# 6# (C) Copyright 2004 Atmark Techno, Inc. 7# Yasushi SHOJI <yashi@atmark-techno.com> 8 9ifeq ($(CROSS_COMPILE),) 10CROSS_COMPILE := mb- 11endif 12 13CONFIG_STANDALONE_LOAD_ADDR ?= 0x80F00000 14 15PLATFORM_CPPFLAGS += -ffixed-r31 -D__microblaze__ 16 17ifeq ($(CONFIG_SPL_BUILD),) 18PLATFORM_CPPFLAGS += -fPIC 19endif 20