blob: 4171e2b0b873da873c3a86a98c09fbe0b1f0043c [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu0b135cf2007-05-13 20:58:00 +09002#
3# Copyright (c) 2007
4# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Nobuhiro Iwamatsu0b135cf2007-05-13 20:58:00 +09005
Vladimir Zapolskiy35005812016-11-28 00:15:34 +02006extra-y += start.o
7
Vladimir Zapolskiycdbb0cf2016-11-28 00:15:31 +02008obj-y += board.o
Masahiro Yamada02b3bf32013-10-21 11:53:27 +09009obj-$(CONFIG_CMD_BOOTM) += bootm.o
Masahiro Yamada7d236662014-11-06 15:55:21 +090010ifeq ($(CONFIG_CPU_SH2),y)
Masahiro Yamada02b3bf32013-10-21 11:53:27 +090011obj-y += time_sh2.o
Nobuhiro Iwamatsue9d5f352008-11-20 16:44:42 +090012else
Masahiro Yamada02b3bf32013-10-21 11:53:27 +090013obj-y += time.o
Nobuhiro Iwamatsue9d5f352008-11-20 16:44:42 +090014endif
Masahiro Yamada02b3bf32013-10-21 11:53:27 +090015obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o
Nobuhiro Iwamatsu0b135cf2007-05-13 20:58:00 +090016
Masahiro Yamada5f91a3a2015-02-10 21:37:01 +090017udivsi3-y := udivsi3_i4i-Os.o
18
19ifneq ($(CONFIG_CC_OPTIMIZE_FOR_SIZE),y)
20udivsi3-$(CONFIG_CPU_SH3) := udivsi3_i4i.o
21udivsi3-$(CONFIG_CPU_SH4) := udivsi3_i4i.o
22endif
23udivsi3-y += udivsi3.o
24
25lib-$(CONFIG_USE_PRIVATE_LIBGCC) += movmem.o ashldi3.o ashrdi3.o lshrdi3.o \
26 ashlsi3.o ashrsi3.o ashiftrt.o lshrsi3.o \
27 udiv_qrnnd.o $(udivsi3-y)