2003-03-27 12:09:35 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2003
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, <wd@denx.de>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2003-03-27 12:09:35 +00:00
|
|
|
#
|
2011-03-28 16:33:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Default optimization level for MIPS32
|
|
|
|
#
|
|
|
|
# Note: Toolchains with binutils prior to v2.16
|
|
|
|
# are no longer supported by U-Boot MIPS tree!
|
|
|
|
#
|
2014-03-05 08:25:37 +00:00
|
|
|
PLATFORM_CPPFLAGS += -DCONFIG_MIPS32 -march=mips32r2
|
2013-01-30 02:22:51 +00:00
|
|
|
PLATFORM_CPPFLAGS += -mabi=32 -DCONFIG_32BIT
|
|
|
|
ifdef CONFIG_SYS_BIG_ENDIAN
|
|
|
|
PLATFORM_LDFLAGS += -m elf32btsmip
|
|
|
|
else
|
|
|
|
PLATFORM_LDFLAGS += -m elf32ltsmip
|
|
|
|
endif
|
2012-08-21 21:38:25 +00:00
|
|
|
|
2014-03-05 07:59:39 +00:00
|
|
|
CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 \
|
|
|
|
-T $(srctree)/examples/standalone/mips.lds
|