xref: /openbmc/u-boot/arch/sh/lib/Makefile (revision c2cde27d)
1#
2# Copyright (c) 2007
3# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8
9obj-y	+= board.o
10obj-$(CONFIG_CMD_BOOTM) += bootm.o
11ifeq ($(CONFIG_SH2),y)
12obj-y	+= time_sh2.o
13else
14obj-y	+= time.o
15endif
16obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o
17
18
19
20# Build private libgcc only when asked for
21ifdef USE_PRIVATE_LIBGCC
22lib-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
29endif
30