]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/mips/cpu/mips32/config.mk
Merge branch 'master' of git://git.denx.de/u-boot-spi
[karo-tx-uboot.git] / arch / mips / cpu / mips32 / config.mk
1 #
2 # (C) Copyright 2003
3 # Wolfgang Denk, DENX Software Engineering, <wd@denx.de>
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
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 #
14 MIPSFLAGS := -march=mips32r2
15
16 PLATFORM_CPPFLAGS += $(MIPSFLAGS)
17 PLATFORM_CPPFLAGS += -mabi=32 -DCONFIG_32BIT
18 ifdef CONFIG_SYS_BIG_ENDIAN
19 PLATFORM_LDFLAGS  += -m elf32btsmip
20 else
21 PLATFORM_LDFLAGS  += -m elf32ltsmip
22 endif
23
24 CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 -T $(srctree)/$(src)/mips.lds