diff options
Diffstat (limited to 'roms/u-boot/arch/mips/cpu/mips32/config.mk')
-rw-r--r-- | roms/u-boot/arch/mips/cpu/mips32/config.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/roms/u-boot/arch/mips/cpu/mips32/config.mk b/roms/u-boot/arch/mips/cpu/mips32/config.mk new file mode 100644 index 00000000..332cd62c --- /dev/null +++ b/roms/u-boot/arch/mips/cpu/mips32/config.mk @@ -0,0 +1,23 @@ +# +# (C) Copyright 2003 +# Wolfgang Denk, DENX Software Engineering, <wd@denx.de> +# +# SPDX-License-Identifier: GPL-2.0+ +# + +# +# Default optimization level for MIPS32 +# +# Note: Toolchains with binutils prior to v2.16 +# are no longer supported by U-Boot MIPS tree! +# +PLATFORM_CPPFLAGS += -DCONFIG_MIPS32 -march=mips32r2 +PLATFORM_CPPFLAGS += -mabi=32 -DCONFIG_32BIT +ifdef CONFIG_SYS_BIG_ENDIAN +PLATFORM_LDFLAGS += -m elf32btsmip +else +PLATFORM_LDFLAGS += -m elf32ltsmip +endif + +CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 \ + -T $(srctree)/examples/standalone/mips.lds |