mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +00:00
036c9679d2
Based on reading over the GCC manual, passing both -m2a and -m2a-nofpu are redundant, as -m2a-nofpu will provide functional code for both. As -m2a-nofpu functions with more toolchains and does what is expected, switch. Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Tom Rini <trini@konsulko.com>
17 lines
322 B
Makefile
17 lines
322 B
Makefile
#
|
|
# (C) Copyright 2007-2008
|
|
# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
#
|
|
ENDIANNESS += -EB
|
|
|
|
ifdef CONFIG_CPU_SH2A
|
|
PLATFORM_CPPFLAGS += -m2a-nofpu -mb
|
|
else # SH2
|
|
PLATFORM_CPPFLAGS += -m3e -mb
|
|
endif
|
|
PLATFORM_CPPFLAGS += $(call cc-option,-mno-fdpic)
|
|
|
|
PLATFORM_LDFLAGS += $(ENDIANNESS)
|