| # |
| # (C) Copyright 2000-2006 |
| # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| # |
| # SPDX-License-Identifier: GPL-2.0+ |
| # |
| |
| obj-y = cpu_info.o |
| obj-y += emac.o |
| |
| obj-$(CONFIG_DISPLAY_BOARDINFO) += board.o |
| obj-$(CONFIG_GLOBAL_TIMER) += timer.o |
| obj-$(CONFIG_R8A7740) += lowlevel_init.o cpu_info-r8a7740.o pfc-r8a7740.o |
| obj-$(CONFIG_SH73A0) += lowlevel_init.o cpu_info-sh73a0.o pfc-sh73a0.o |
| obj-$(CONFIG_TMU_TIMER) += sh_timer.o |
| |
| SRCS += $(obj)sh_timer.c |
| # from arch/sh/lib/ directory |
| $(obj)sh_timer.c: |
| @rm -f $(obj)sh_timer.c |
| ln -s $(SRCTREE)/arch/sh/lib/time.c $(obj)sh_timer.c |