summaryrefslogtreecommitdiff
path: root/arch/mips/cpu/xburst/config.mk
blob: b8e53e55c01d886672ef89e3b35123e3b801badf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# 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 $(srctree)/examples/standalone/mips.lds