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