mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +00:00
7d2366627e
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>
17 lines
327 B
Makefile
17 lines
327 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 -m2a-nofpu -mb
|
|
else # SH2
|
|
PLATFORM_CPPFLAGS += -m3e -mb
|
|
endif
|
|
PLATFORM_CPPFLAGS += $(call cc-option,-mno-fdpic)
|
|
|
|
PLATFORM_LDFLAGS += $(ENDIANNESS)
|