]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/mips/cpu/mips32/config.mk
config.mk: specify the exact path to standalone linker script
[people/ms/u-boot.git] / arch / mips / cpu / mips32 / config.mk
CommitLineData
c021880a
WD
1#
2# (C) Copyright 2003
3# Wolfgang Denk, DENX Software Engineering, <wd@denx.de>
4#
1a459660 5# SPDX-License-Identifier: GPL-2.0+
c021880a 6#
04efda7a
DS
7
8#
9# Default optimization level for MIPS32
10#
11# Note: Toolchains with binutils prior to v2.16
12# are no longer supported by U-Boot MIPS tree!
13#
6cb461b4 14MIPSFLAGS := -march=mips32r2
c021880a 15
2c0e3de3 16PLATFORM_CPPFLAGS += $(MIPSFLAGS)
9950b90d
GJ
17PLATFORM_CPPFLAGS += -mabi=32 -DCONFIG_32BIT
18ifdef CONFIG_SYS_BIG_ENDIAN
19PLATFORM_LDFLAGS += -m elf32btsmip
20else
21PLATFORM_LDFLAGS += -m elf32ltsmip
22endif
0efcdb15 23
a0a15b44
MY
24CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 \
25 -T $(srctree)/examples/standalone/mips.lds