blob: 5fc9d9d66d46e9e5c6bdf616b6a5ed41f93a2d4d [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
Nobuhiro Iwamatsu970dc332007-05-13 20:58:00 +09008
Masahiro Yamadaf408ace2013-10-21 11:53:27 +09009obj-y += board.o
10obj-$(CONFIG_CMD_BOOTM) += bootm.o
Nobuhiro Iwamatsuac890472008-11-20 16:44:42 +090011ifeq ($(CONFIG_SH2),y)
Masahiro Yamadaf408ace2013-10-21 11:53:27 +090012obj-y += time_sh2.o
Nobuhiro Iwamatsuac890472008-11-20 16:44:42 +090013else
Masahiro Yamadaf408ace2013-10-21 11:53:27 +090014obj-y += time.o
Nobuhiro Iwamatsuac890472008-11-20 16:44:42 +090015endif
Masahiro Yamadaf408ace2013-10-21 11:53:27 +090016obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o
Nobuhiro Iwamatsu970dc332007-05-13 20:58:00 +090017
Phil Edworthy8e5ab4b2011-06-02 22:15:27 +000018
Phil Edworthy8e5ab4b2011-06-02 22:15:27 +000019
20# Build private libgcc only when asked for
21ifdef USE_PRIVATE_LIBGCC
Masahiro Yamadaf408ace2013-10-21 11:53:27 +090022lib-y += ashiftrt.o
23lib-y += ashiftlt.o
24lib-y += lshiftrt.o
25lib-y += ashldi3.o
26lib-y += ashrsi3.o
27lib-y += lshrdi3.o
28lib-y += movmem.o
Phil Edworthy8e5ab4b2011-06-02 22:15:27 +000029endif