blob: d81da210170529c36c383b03d2a2becc2a3746f8 [file] [log] [blame]
Xiangfu Liu80421fc2011-10-12 12:24:06 +08001#
2# Copyright (C) 2011 Xiangfu Liu <xiangfu@openmobilefree.net>
3#
Wolfgang Denk1a459662013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Xiangfu Liu80421fc2011-10-12 12:24:06 +08005#
6
Daniel Schwierzeck2c0e3de2012-08-21 23:27:37 +02007PLATFORM_CPPFLAGS += -march=mips32
Gabor Juhos9950b902013-01-30 02:22:51 +00008PLATFORM_CPPFLAGS += -mabi=32 -DCONFIG_32BIT
9ifdef CONFIG_SYS_BIG_ENDIAN
10PLATFORM_LDFLAGS += -m elf32btsmip
11else
12PLATFORM_LDFLAGS += -m elf32ltsmip
13endif
Daniel Schwierzeck0efcdb12012-08-21 23:38:25 +020014
15CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 -T mips.lds