]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/sh/cpu/sh2/config.mk
12e202d539a01deba8a66e62be9f4adb78c861e0
[people/ms/u-boot.git] / arch / sh / cpu / sh2 / config.mk
1 #
2 # (C) Copyright 2007-2008
3 # Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4 #
5 # SPDX-License-Identifier: GPL-2.0+
6 #
7 #
8 ENDIANNESS += -EB
9
10 ifdef CONFIG_CPU_SH2A
11 PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb
12 else # SH2
13 PLATFORM_CPPFLAGS += -m3e -mb
14 endif
15 PLATFORM_CPPFLAGS += $(call cc-option,-mno-fdpic)
16
17 PLATFORM_LDFLAGS += $(ENDIANNESS)