blob: 473cf0de2d8b0baf58913b512ad069eefa16dd37 [file] [log] [blame]
Nobuhiro Iwamatsu970dc332007-05-13 20:58:00 +09001#
2# Copyright (c) 2007
3# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu970dc332007-05-13 20:58:00 +09006#
7
Vladimir Zapolskiy41e163f2016-11-28 00:15:34 +02008extra-y += start.o
9
Vladimir Zapolskiy22d75602016-11-28 00:15:31 +020010obj-y += board.o
Masahiro Yamadaf408ace2013-10-21 11:53:27 +090011obj-$(CONFIG_CMD_BOOTM) += bootm.o
Masahiro Yamada4770e412014-11-06 15:55:21 +090012ifeq ($(CONFIG_CPU_SH2),y)
Masahiro Yamadaf408ace2013-10-21 11:53:27 +090013obj-y += time_sh2.o
Nobuhiro Iwamatsuac890472008-11-20 16:44:42 +090014else
Masahiro Yamadaf408ace2013-10-21 11:53:27 +090015obj-y += time.o
Nobuhiro Iwamatsuac890472008-11-20 16:44:42 +090016endif
Masahiro Yamadaf408ace2013-10-21 11:53:27 +090017obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o
Nobuhiro Iwamatsu970dc332007-05-13 20:58:00 +090018
Masahiro Yamada24edb7e2015-02-10 21:37:01 +090019udivsi3-y := udivsi3_i4i-Os.o
20
21ifneq ($(CONFIG_CC_OPTIMIZE_FOR_SIZE),y)
22udivsi3-$(CONFIG_CPU_SH3) := udivsi3_i4i.o
23udivsi3-$(CONFIG_CPU_SH4) := udivsi3_i4i.o
24endif
25udivsi3-y += udivsi3.o
26
27lib-$(CONFIG_USE_PRIVATE_LIBGCC) += movmem.o ashldi3.o ashrdi3.o lshrdi3.o \
28 ashlsi3.o ashrsi3.o ashiftrt.o lshrsi3.o \
29 udiv_qrnnd.o $(udivsi3-y)