wdenk | 507bbe3 | 2004-04-18 21:13:41 +0000 | [diff] [blame] | 1 | # |
Michal Simek | 62032de | 2008-03-28 11:58:45 +0100 | [diff] [blame] | 2 | # (C) Copyright 2007-2008 Michal Simek |
3 | # Michal SIMEK <monstr@monstr.eu> | ||||
wdenk | 507bbe3 | 2004-04-18 21:13:41 +0000 | [diff] [blame] | 4 | # |
Michal Simek | 62032de | 2008-03-28 11:58:45 +0100 | [diff] [blame] | 5 | # (C) Copyright 2004 Atmark Techno, Inc. |
wdenk | 507bbe3 | 2004-04-18 21:13:41 +0000 | [diff] [blame] | 6 | # Yasushi SHOJI <yashi@atmark-techno.com> |
7 | # | ||||
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 8 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 507bbe3 | 2004-04-18 21:13:41 +0000 | [diff] [blame] | 9 | # |
10 | |||||
Masahiro Yamada | 9b6e2c3 | 2014-02-28 14:33:30 +0900 | [diff] [blame] | 11 | ifeq ($(CROSS_COMPILE),) |
12 | CROSS_COMPILE := mb- | ||||
13 | endif | ||||
Mike Frysinger | 1ea6bcd | 2009-06-14 23:33:14 -0400 | [diff] [blame] | 14 | |
Wolfgang Denk | 8ae86b7 | 2011-02-04 14:25:17 +0100 | [diff] [blame] | 15 | CONFIG_STANDALONE_LOAD_ADDR ?= 0x80F00000 |
Mike Frysinger | 262ae0a | 2009-09-03 23:12:47 -0400 | [diff] [blame] | 16 | |
Michal Simek | cfc6711 | 2007-03-11 13:48:24 +0100 | [diff] [blame] | 17 | PLATFORM_CPPFLAGS += -ffixed-r31 -D__microblaze__ |
Michal Simek | e945f6d | 2014-05-08 16:08:44 +0200 | [diff] [blame] | 18 | |
19 | ifeq ($(CONFIG_SPL_BUILD),) | ||||
20 | PLATFORM_CPPFLAGS += -fPIC | ||||
21 | endif | ||||
22 | __HAVE_ARCH_GENERIC_BOARD := y |