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 | |
Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 8 | |
Masahiro Yamada | 02b3bf3 | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 9 | obj-y += board.o |
| 10 | obj-$(CONFIG_CMD_BOOTM) += bootm.o |
Masahiro Yamada | 7d23666 | 2014-11-06 15:55:21 +0900 | [diff] [blame] | 11 | ifeq ($(CONFIG_CPU_SH2),y) |
Masahiro Yamada | 02b3bf3 | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 12 | obj-y += time_sh2.o |
Nobuhiro Iwamatsu | e9d5f35 | 2008-11-20 16:44:42 +0900 | [diff] [blame] | 13 | else |
Masahiro Yamada | 02b3bf3 | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 14 | obj-y += time.o |
Nobuhiro Iwamatsu | e9d5f35 | 2008-11-20 16:44:42 +0900 | [diff] [blame] | 15 | endif |
Masahiro Yamada | 02b3bf3 | 2013-10-21 11:53:27 +0900 | [diff] [blame] | 16 | obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o |
Nobuhiro Iwamatsu | 0b135cf | 2007-05-13 20:58:00 +0900 | [diff] [blame] | 17 | |
Masahiro Yamada | 5f91a3a | 2015-02-10 21:37:01 +0900 | [diff] [blame] | 18 | udivsi3-y := udivsi3_i4i-Os.o |
| 19 | |
| 20 | ifneq ($(CONFIG_CC_OPTIMIZE_FOR_SIZE),y) |
| 21 | udivsi3-$(CONFIG_CPU_SH3) := udivsi3_i4i.o |
| 22 | udivsi3-$(CONFIG_CPU_SH4) := udivsi3_i4i.o |
| 23 | endif |
| 24 | udivsi3-y += udivsi3.o |
| 25 | |
| 26 | lib-$(CONFIG_USE_PRIVATE_LIBGCC) += movmem.o ashldi3.o ashrdi3.o lshrdi3.o \ |
| 27 | ashlsi3.o ashrsi3.o ashiftrt.o lshrsi3.o \ |
| 28 | udiv_qrnnd.o $(udivsi3-y) |