mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-20 03:38:43 +00:00
cfda6bd2d8
All mips32 boards define CONFIG_MIPS32 in config headers except malta boards which define it in boards.cfg. We can consolidate them by defining it in arch/mips/cpu/mips32/config.mk. CONFIG_MIPS64 definition can be moved to arch/mips/cpu/mips64/config.mk as well. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Acked-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
23 lines
577 B
Makefile
23 lines
577 B
Makefile
#
|
|
# (C) Copyright 2003
|
|
# Wolfgang Denk, DENX Software Engineering, <wd@denx.de>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
#
|
|
# Default optimization level for MIPS64
|
|
#
|
|
# Note: Toolchains with binutils prior to v2.16
|
|
# are no longer supported by U-Boot MIPS tree!
|
|
#
|
|
PLATFORM_CPPFLAGS += -DCONFIG_MIPS64 -march=mips64
|
|
PLATFORM_CPPFLAGS += -mabi=64 -DCONFIG_64BIT
|
|
ifdef CONFIG_SYS_BIG_ENDIAN
|
|
PLATFORM_LDFLAGS += -m elf64btsmip
|
|
else
|
|
PLATFORM_LDFLAGS += -m elf64ltsmip
|
|
endif
|
|
|
|
CONFIG_STANDALONE_LOAD_ADDR ?= 0xffffffff80200000 \
|
|
-T $(srctree)/examples/standalone/mips64.lds
|