2012-10-16 13:02:08 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2003
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, <wd@denx.de>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2012-10-16 13:02:08 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# Default optimization level for MIPS64
|
|
|
|
#
|
|
|
|
# Note: Toolchains with binutils prior to v2.16
|
|
|
|
# are no longer supported by U-Boot MIPS tree!
|
|
|
|
#
|
|
|
|
MIPSFLAGS = -march=mips64
|
|
|
|
|
|
|
|
PLATFORM_CPPFLAGS += $(MIPSFLAGS)
|
|
|
|
PLATFORM_CPPFLAGS += -mabi=64 -DCONFIG_64BIT
|
|
|
|
ifdef CONFIG_SYS_BIG_ENDIAN
|
|
|
|
PLATFORM_LDFLAGS += -m elf64btsmip
|
|
|
|
else
|
|
|
|
PLATFORM_LDFLAGS += -m elf64ltsmip
|
|
|
|
endif
|
|
|
|
|
2014-02-04 08:24:24 +00:00
|
|
|
CONFIG_STANDALONE_LOAD_ADDR ?= 0xffffffff80200000 -T $(srctree)/$(src)/mips64.lds
|