3 # Wolfgang Denk, DENX Software Engineering, <wd@denx.de>
5 # SPDX-License-Identifier: GPL-2.0+
9 # Default optimization level for MIPS32
11 # Note: Toolchains with binutils prior to v2.16
12 # are no longer supported by U-Boot MIPS tree!
14 PLATFORM_CPPFLAGS += -DCONFIG_MIPS32 -march=mips32r2
15 PLATFORM_CPPFLAGS += -mabi=32 -DCONFIG_32BIT
16 ifdef CONFIG_SYS_BIG_ENDIAN
17 PLATFORM_LDFLAGS += -m elf32btsmip
19 PLATFORM_LDFLAGS += -m elf32ltsmip
22 CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 \
23 -T $(srctree)/examples/standalone/mips.lds