]> git.sur5r.net Git - u-boot/blob - arch/sh/lib/Makefile
Merge git://git.denx.de/u-boot-fsl-qoriq
[u-boot] / arch / sh / lib / Makefile
1 #
2 # Copyright (c) 2007
3 # Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 extra-y += start.o
9
10 obj-y   += board.o
11 obj-$(CONFIG_CMD_BOOTM) += bootm.o
12 ifeq ($(CONFIG_CPU_SH2),y)
13 obj-y   += time_sh2.o
14 else
15 obj-y   += time.o
16 endif
17 obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o
18
19 udivsi3-y                       := udivsi3_i4i-Os.o
20
21 ifneq ($(CONFIG_CC_OPTIMIZE_FOR_SIZE),y)
22 udivsi3-$(CONFIG_CPU_SH3)       := udivsi3_i4i.o
23 udivsi3-$(CONFIG_CPU_SH4)       := udivsi3_i4i.o
24 endif
25 udivsi3-y                       += udivsi3.o
26
27 lib-$(CONFIG_USE_PRIVATE_LIBGCC) += movmem.o ashldi3.o ashrdi3.o lshrdi3.o \
28                                     ashlsi3.o ashrsi3.o ashiftrt.o lshrsi3.o \
29                                     udiv_qrnnd.o $(udivsi3-y)