summaryrefslogtreecommitdiff
path: root/arch/mips/cpu/xburst/config.mk
blob: d81da210170529c36c383b03d2a2becc2a3746f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# Copyright (C) 2011 Xiangfu Liu <xiangfu@openmobilefree.net>
#
# SPDX-License-Identifier:	GPL-2.0+
#

PLATFORM_CPPFLAGS += -march=mips32
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 mips.lds