2007-05-13 20:58:00 +09:00
|
|
|
#
|
|
|
|
# Copyright (c) 2007
|
|
|
|
# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
|
|
|
#
|
2013-07-08 16:37:19 +09:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2007-05-13 20:58:00 +09:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2013-10-21 11:53:27 +09: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 15:55:21 +09:00
|
|
|
ifeq ($(CONFIG_CPU_SH2),y)
|
2013-10-21 11:53:27 +09:00
|
|
|
obj-y += time_sh2.o
|
2008-11-20 16:44:42 +09:00
|
|
|
else
|
2013-10-21 11:53:27 +09:00
|
|
|
obj-y += time.o
|
2010-12-08 13:49:12 +09:00
|
|
|
endif
|
2013-10-21 11:53:27 +09:00
|
|
|
obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o
|
2007-05-13 20:58:00 +09:00
|
|
|
|
2014-03-05 16:59:38 +09:00
|
|
|
lib-$(CONFIG_USE_PRIVATE_LIBGCC) += ashiftrt.o ashiftlt.o lshiftrt.o \
|
|
|
|
ashldi3.o ashrsi3.o lshrdi3.o movmem.o
|