blob: 327df9e24cbae8c7fd7558f9c144a30f9e778de2 [file] [log] [blame]
Nobuhiro Iwamatsuf3db9da2012-06-13 16:29:47 +09001#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsuf3db9da2012-06-13 16:29:47 +09006#
7
Nobuhiro Iwamatsu47527112013-11-21 17:06:44 +09008obj-y = cpu_info.o
Masahiro Yamadad4495752013-10-17 17:34:48 +09009obj-y += emac.o
Nobuhiro Iwamatsuf3db9da2012-06-13 16:29:47 +090010
Masahiro Yamadad4495752013-10-17 17:34:48 +090011obj-$(CONFIG_DISPLAY_BOARDINFO) += board.o
12obj-$(CONFIG_GLOBAL_TIMER) += timer.o
Nobuhiro Iwamatsu47527112013-11-21 17:06:44 +090013obj-$(CONFIG_R8A7740) += lowlevel_init.o cpu_info-r8a7740.o pfc-r8a7740.o
14obj-$(CONFIG_SH73A0) += lowlevel_init.o cpu_info-sh73a0.o pfc-sh73a0.o
Masahiro Yamadad4495752013-10-17 17:34:48 +090015obj-$(CONFIG_TMU_TIMER) += sh_timer.o
Nobuhiro Iwamatsuf3db9da2012-06-13 16:29:47 +090016
Masahiro Yamadad4495752013-10-17 17:34:48 +090017SRCS += $(obj)sh_timer.c
Nobuhiro Iwamatsub95d3da2012-10-02 16:40:39 +000018# from arch/sh/lib/ directory
19$(obj)sh_timer.c:
20 @rm -f $(obj)sh_timer.c
21 ln -s $(SRCTREE)/arch/sh/lib/time.c $(obj)sh_timer.c