blob: 8f4cf3a19569718b37a6bf4cfb431aedce7cc69a [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
Masahiro Yamadad4495752013-10-17 17:34:48 +09008obj-y = lowlevel_init.o
9obj-y += cpu_info.o
10obj-y += emac.o
Nobuhiro Iwamatsuf3db9da2012-06-13 16:29:47 +090011
Masahiro Yamadad4495752013-10-17 17:34:48 +090012obj-$(CONFIG_DISPLAY_BOARDINFO) += board.o
13obj-$(CONFIG_GLOBAL_TIMER) += timer.o
14obj-$(CONFIG_R8A7740) += cpu_info-r8a7740.o
15obj-$(CONFIG_R8A7740) += pfc-r8a7740.o
16obj-$(CONFIG_SH73A0) += cpu_info-sh73a0.o
17obj-$(CONFIG_SH73A0) += pfc-sh73a0.o
18obj-$(CONFIG_TMU_TIMER) += sh_timer.o
Nobuhiro Iwamatsuf3db9da2012-06-13 16:29:47 +090019
Masahiro Yamadad4495752013-10-17 17:34:48 +090020SRCS += $(obj)sh_timer.c
Nobuhiro Iwamatsub95d3da2012-10-02 16:40:39 +000021# from arch/sh/lib/ directory
22$(obj)sh_timer.c:
23 @rm -f $(obj)sh_timer.c
24 ln -s $(SRCTREE)/arch/sh/lib/time.c $(obj)sh_timer.c