]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/sh/cpu/sh2/config.mk
Merge branch 'master' of git://git.denx.de/u-boot-mips
[karo-tx-uboot.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_SH2A
11 PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb
12 else # SH2
13 PLATFORM_CPPFLAGS += -m3e -mb
14 endif
15 PLATFORM_CPPFLAGS += -DCONFIG_SH2 $(call cc-option,-mno-fdpic)
16
17 PLATFORM_LDFLAGS += $(ENDIANNESS)