blob: e7520a328d5427f70e55b501278e1a6a0b80f758 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu970dc332007-05-13 20:58:00 +09002#
3# Copyright (c) 2007
4# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Nobuhiro Iwamatsu970dc332007-05-13 20:58:00 +09005
Vladimir Zapolskiy41e163f2016-11-28 00:15:34 +02006extra-y += start.o
7
Vladimir Zapolskiy22d75602016-11-28 00:15:31 +02008obj-y += board.o
Tom Rini793921e2024-04-18 08:29:35 -06009obj-$(CONFIG_CMD_BOOTM) += bootm.o
Masahiro Yamadaf408ace2013-10-21 11:53:27 +090010obj-y += time.o
Masahiro Yamadaf408ace2013-10-21 11:53:27 +090011obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o
Nobuhiro Iwamatsu970dc332007-05-13 20:58:00 +090012
Masahiro Yamada24edb7e2015-02-10 21:37:01 +090013udivsi3-y := udivsi3_i4i-Os.o
14
Sean Anderson9964cae2022-02-22 12:19:24 -050015ifeq ($(CONFIG_CC_OPTIMIZE_FOR_SPEED),y)
Masahiro Yamada24edb7e2015-02-10 21:37:01 +090016udivsi3-$(CONFIG_CPU_SH4) := udivsi3_i4i.o
17endif
18udivsi3-y += udivsi3.o
19
20lib-$(CONFIG_USE_PRIVATE_LIBGCC) += movmem.o ashldi3.o ashrdi3.o lshrdi3.o \
21 ashlsi3.o ashrsi3.o ashiftrt.o lshrsi3.o \
22 udiv_qrnnd.o $(udivsi3-y)