blob: f7ae4f86eff29106669da731b3aa106e191066d0 [file] [log] [blame]
Nobuhiro Iwamatsu0b135cf2007-05-13 20:58:00 +09001#
2# Copyright (c) 2007
3# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu0b135cf2007-05-13 20:58:00 +09006#
7
Nobuhiro Iwamatsu0b135cf2007-05-13 20:58:00 +09008
Masahiro Yamada02b3bf32013-10-21 11:53:27 +09009obj-y += board.o
10obj-$(CONFIG_CMD_BOOTM) += bootm.o
Masahiro Yamada7d236662014-11-06 15:55:21 +090011ifeq ($(CONFIG_CPU_SH2),y)
Masahiro Yamada02b3bf32013-10-21 11:53:27 +090012obj-y += time_sh2.o
Nobuhiro Iwamatsue9d5f352008-11-20 16:44:42 +090013else
Masahiro Yamada02b3bf32013-10-21 11:53:27 +090014obj-y += time.o
Nobuhiro Iwamatsue9d5f352008-11-20 16:44:42 +090015endif
Masahiro Yamada02b3bf32013-10-21 11:53:27 +090016obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o
Nobuhiro Iwamatsu0b135cf2007-05-13 20:58:00 +090017
Masahiro Yamada5f91a3a2015-02-10 21:37:01 +090018udivsi3-y := udivsi3_i4i-Os.o
19
20ifneq ($(CONFIG_CC_OPTIMIZE_FOR_SIZE),y)
21udivsi3-$(CONFIG_CPU_SH3) := udivsi3_i4i.o
22udivsi3-$(CONFIG_CPU_SH4) := udivsi3_i4i.o
23endif
24udivsi3-y += udivsi3.o
25
26lib-$(CONFIG_USE_PRIVATE_LIBGCC) += movmem.o ashldi3.o ashrdi3.o lshrdi3.o \
27 ashlsi3.o ashrsi3.o ashiftrt.o lshrsi3.o \
28 udiv_qrnnd.o $(udivsi3-y)