Nobuhiro Iwamatsu | 970dc33 | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 1 | # |
2 | # Copyright (c) 2007 | ||||
3 | # Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | ||||
4 | # | ||||
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Nobuhiro Iwamatsu | 970dc33 | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 6 | # |
7 | |||||
Nobuhiro Iwamatsu | 970dc33 | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 8 | |
Masahiro Yamada | f408ace | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 9 | obj-y += board.o |
10 | obj-$(CONFIG_CMD_BOOTM) += bootm.o | ||||
Nobuhiro Iwamatsu | ac89047 | 2008-11-20 16:44:42 +0900 | [diff] [blame] | 11 | ifeq ($(CONFIG_SH2),y) |
Masahiro Yamada | f408ace | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 12 | obj-y += time_sh2.o |
Nobuhiro Iwamatsu | ac89047 | 2008-11-20 16:44:42 +0900 | [diff] [blame] | 13 | else |
Masahiro Yamada | f408ace | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 14 | obj-y += time.o |
Nobuhiro Iwamatsu | ac89047 | 2008-11-20 16:44:42 +0900 | [diff] [blame] | 15 | endif |
Masahiro Yamada | f408ace | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 16 | obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o |
Nobuhiro Iwamatsu | 970dc33 | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 17 | |
Phil Edworthy | 8e5ab4b | 2011-06-02 22:15:27 +0000 | [diff] [blame] | 18 | |
Phil Edworthy | 8e5ab4b | 2011-06-02 22:15:27 +0000 | [diff] [blame] | 19 | |
20 | # Build private libgcc only when asked for | ||||
21 | ifdef USE_PRIVATE_LIBGCC | ||||
Masahiro Yamada | f408ace | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 22 | lib-y += ashiftrt.o |
23 | lib-y += ashiftlt.o | ||||
24 | lib-y += lshiftrt.o | ||||
25 | lib-y += ashldi3.o | ||||
26 | lib-y += ashrsi3.o | ||||
27 | lib-y += lshrdi3.o | ||||
28 | lib-y += movmem.o | ||||
Phil Edworthy | 8e5ab4b | 2011-06-02 22:15:27 +0000 | [diff] [blame] | 29 | endif |