1# SPDX-License-Identifier: GPL-2.0+
2#
3# Copyright (c) 2007
4# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5
6extra-y	+= start.o
7
8obj-y	+= board.o
9obj-$(CONFIG_CMD_BOOTM) += bootm.o
10obj-y	+= time.o
11obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o
12
13udivsi3-y			:= udivsi3_i4i-Os.o
14
15ifneq ($(CONFIG_CC_OPTIMIZE_FOR_SIZE),y)
16udivsi3-$(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)
23