blob: 5fc9d9d66d46e9e5c6bdf616b6a5ed41f93a2d4d [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
Nobuhiro Iwamatsue9d5f352008-11-20 16:44:42 +090011ifeq ($(CONFIG_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
Phil Edworthyeeb84df2011-06-02 22:15:27 +000018
Phil Edworthyeeb84df2011-06-02 22:15:27 +000019
20# Build private libgcc only when asked for
21ifdef USE_PRIVATE_LIBGCC
Masahiro Yamada02b3bf32013-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 Edworthyeeb84df2011-06-02 22:15:27 +000029endif