blob: e577d566a9f457740c0d5364250e5ac124a05d23 [file] [log] [blame]
Nobuhiro Iwamatsu0d53a472008-08-31 22:45:08 +09001#
2# Copyright (C) 2008 Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
3#
Wolfgang Denk1a459662013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu0d53a472008-08-31 22:45:08 +09005
6include $(TOPDIR)/config.mk
7
Sebastien Carlier6d8962e2010-11-05 15:48:07 +01008LIB = $(obj)lib$(BOARD).o
Nobuhiro Iwamatsu0d53a472008-08-31 22:45:08 +09009
10COBJS := sh7785lcr.o selfcheck.o rtl8169_mac.o
11SOBJS := lowlevel_init.o
12
Nobuhiro Iwamatsue72f4672011-02-03 16:27:45 +090013SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
14OBJS := $(addprefix $(obj),$(COBJS))
15SOBJS := $(addprefix $(obj),$(SOBJS))
16
17$(LIB): $(obj).depend $(OBJS) $(SOBJS)
18 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Nobuhiro Iwamatsu0d53a472008-08-31 22:45:08 +090019
Nobuhiro Iwamatsu0d53a472008-08-31 22:45:08 +090020#########################################################################
21
Nobuhiro Iwamatsu0d53a472008-08-31 22:45:08 +090022# defines $(obj).depend target
23include $(SRCTREE)/rules.mk
24
25sinclude $(obj).depend
26
27#########################################################################