2007-05-13 11:58:00 +00:00
|
|
|
#
|
|
|
|
# Copyright (c) 2007
|
|
|
|
# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2007-05-13 11:58:00 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2013-10-21 02:53:27 +00:00
|
|
|
obj-y += board.o
|
|
|
|
obj-$(CONFIG_CMD_BOOTM) += bootm.o
|
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
|
|
|
ifeq ($(CONFIG_CPU_SH2),y)
|
2013-10-21 02:53:27 +00:00
|
|
|
obj-y += time_sh2.o
|
2008-11-20 07:44:42 +00:00
|
|
|
else
|
2013-10-21 02:53:27 +00:00
|
|
|
obj-y += time.o
|
2010-12-08 04:49:12 +00:00
|
|
|
endif
|
2013-10-21 02:53:27 +00:00
|
|
|
obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o
|
2007-05-13 11:58:00 +00:00
|
|
|
|
2015-02-10 12:37:00 +00:00
|
|
|
lib-$(CONFIG_USE_PRIVATE_LIBGCC) += movmem.o ashldi3.o lshrdi3.o \
|
|
|
|
ashlsi3.o ashrsi3.o ashiftrt.o lshrsi3.o
|