2007-05-13 11:58:00 +00:00
|
|
|
#
|
|
|
|
# Copyright (c) 2007
|
|
|
|
# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2007-05-13 11:58:00 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2013-10-21 02:53:27 +00:00
|
|
|
obj-y += board.o
|
|
|
|
obj-$(CONFIG_CMD_BOOTM) += bootm.o
|
2008-11-20 07:44:42 +00:00
|
|
|
ifeq ($(CONFIG_SH2),y)
|
2013-10-21 02:53:27 +00:00
|
|
|
obj-y += time_sh2.o
|
2008-11-20 07:44:42 +00:00
|
|
|
else
|
2013-10-21 02:53:27 +00:00
|
|
|
obj-y += time.o
|
2010-12-08 04:49:12 +00:00
|
|
|
endif
|
2013-10-21 02:53:27 +00:00
|
|
|
obj-$(CONFIG_CMD_SH_ZIMAGEBOOT) += zimageboot.o
|
2007-05-13 11:58:00 +00:00
|
|
|
|
2011-06-02 22:15:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Build private libgcc only when asked for
|
|
|
|
ifdef USE_PRIVATE_LIBGCC
|
2013-10-21 02:53:27 +00:00
|
|
|
lib-y += ashiftrt.o
|
|
|
|
lib-y += ashiftlt.o
|
|
|
|
lib-y += lshiftrt.o
|
|
|
|
lib-y += ashldi3.o
|
|
|
|
lib-y += ashrsi3.o
|
|
|
|
lib-y += lshrdi3.o
|
|
|
|
lib-y += movmem.o
|
2011-06-02 22:15:27 +00:00
|
|
|
endif
|