Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2007 |
| 3 | # Nobuhiro Iwamatsu <iwamatsu@nigauri.org> |
| 4 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 6 | # |
| 7 | |
Vladimir Zapolskiy | 3500581 | 2016-11-28 00:15:34 +0200 | [diff] [blame] | 8 | extra-y += start.o |
| 9 | |
Vladimir Zapolskiy | cdbb0cf | 2016-11-28 00:15:31 +0200 | [diff] [blame] | 10 | obj-y += board.o |
Masahiro Yamada | 02b3bf3 | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 11 | obj-$(CONFIG_CMD_BOOTM) += bootm.o |
Masahiro Yamada | 7d23666 | 2014-11-06 15:55:21 +0900 | [diff] [blame] | 12 | ifeq ($(CONFIG_CPU_SH2),y) |
Masahiro Yamada | 02b3bf3 | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 13 | obj-y += time_sh2.o |
Nobuhiro Iwamatsu | e9d5f35 | 2008-11-20 16:44:42 +0900 | [diff] [blame] | 14 | else |
Masahiro Yamada | 02b3bf3 | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 15 | obj-y += time.o |
Nobuhiro Iwamatsu | e9d5f35 | 2008-11-20 16:44:42 +0900 | [diff] [blame] | 16 | endif |
Masahiro Yamada | 02b3bf3 | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 17 | obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o |
Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 18 | |
Masahiro Yamada | 5f91a3a | 2015-02-10 21:37:01 +0900 | [diff] [blame] | 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) |