Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 2 | # |
| 3 | # Copyright (c) 2007 |
| 4 | # Nobuhiro Iwamatsu <iwamatsu@nigauri.org> |
Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 5 | |
Vladimir Zapolskiy | 3500581 | 2016-11-28 00:15:34 +0200 | [diff] [blame] | 6 | extra-y += start.o |
| 7 | |
Vladimir Zapolskiy | cdbb0cf | 2016-11-28 00:15:31 +0200 | [diff] [blame] | 8 | obj-y += board.o |
Masahiro Yamada | 02b3bf3 | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 9 | obj-$(CONFIG_CMD_BOOTM) += bootm.o |
Masahiro Yamada | 7d23666 | 2014-11-06 15:55:21 +0900 | [diff] [blame] | 10 | ifeq ($(CONFIG_CPU_SH2),y) |
Masahiro Yamada | 02b3bf3 | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 11 | obj-y += time_sh2.o |
Nobuhiro Iwamatsu | e9d5f35 | 2008-11-20 16:44:42 +0900 | [diff] [blame] | 12 | else |
Masahiro Yamada | 02b3bf3 | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 13 | obj-y += time.o |
Nobuhiro Iwamatsu | e9d5f35 | 2008-11-20 16:44:42 +0900 | [diff] [blame] | 14 | endif |
Masahiro Yamada | 02b3bf3 | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 15 | obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o |
Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 16 | |
Masahiro Yamada | 5f91a3a | 2015-02-10 21:37:01 +0900 | [diff] [blame] | 17 | udivsi3-y := udivsi3_i4i-Os.o |
| 18 | |
| 19 | ifneq ($(CONFIG_CC_OPTIMIZE_FOR_SIZE),y) |
| 20 | udivsi3-$(CONFIG_CPU_SH3) := udivsi3_i4i.o |
| 21 | udivsi3-$(CONFIG_CPU_SH4) := udivsi3_i4i.o |
| 22 | endif |
| 23 | udivsi3-y += udivsi3.o |
| 24 | |
| 25 | lib-$(CONFIG_USE_PRIVATE_LIBGCC) += movmem.o ashldi3.o ashrdi3.o lshrdi3.o \ |
| 26 | ashlsi3.o ashrsi3.o ashiftrt.o lshrsi3.o \ |
| 27 | udiv_qrnnd.o $(udivsi3-y) |