2008-08-31 13:48:33 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2007-2008
|
|
|
|
# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2008-08-31 13:48:33 +00:00
|
|
|
#
|
|
|
|
#
|
2011-01-06 01:23:54 +00:00
|
|
|
ENDIANNESS += -EB
|
|
|
|
|
sh: move CONFIG_{SH2, SH2A, SH3, SH4} to Kconfig
This commit moves CONFIG_SH2, CONFIG_SH2A, CONFIG_SH3, CONFIG_SH4
to Kconfig renaming into CONFIG_CPU_SH2, CONFIG_CPU_SH2A,
CONFIG_CPU_SH3, CONFIG_CPU_SH4, respectively because
arch/sh/Kconfig of Linux uses CONFIG_CPU_SH* convention.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2014-11-06 06:55:21 +00:00
|
|
|
ifdef CONFIG_CPU_SH2A
|
2014-02-26 05:51:02 +00:00
|
|
|
PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb
|
2011-06-09 06:03:34 +00:00
|
|
|
else # SH2
|
2008-08-31 13:48:33 +00:00
|
|
|
PLATFORM_CPPFLAGS += -m3e -mb
|
2011-06-09 06:03:34 +00:00
|
|
|
endif
|
sh: move CONFIG_{SH2, SH2A, SH3, SH4} to Kconfig
This commit moves CONFIG_SH2, CONFIG_SH2A, CONFIG_SH3, CONFIG_SH4
to Kconfig renaming into CONFIG_CPU_SH2, CONFIG_CPU_SH2A,
CONFIG_CPU_SH3, CONFIG_CPU_SH4, respectively because
arch/sh/Kconfig of Linux uses CONFIG_CPU_SH* convention.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2014-11-06 06:55:21 +00:00
|
|
|
PLATFORM_CPPFLAGS += $(call cc-option,-mno-fdpic)
|
2011-06-09 06:03:34 +00:00
|
|
|
|
2011-01-06 01:23:54 +00:00
|
|
|
PLATFORM_LDFLAGS += $(ENDIANNESS)
|