blob: 24933cc491097b74256cfb82e74c876df54c3e2f [file] [log] [blame]
Nobuhiro Iwamatsu020d0412012-01-12 11:12:28 +09001#
2# Copyright (C) 2011 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
3#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu020d0412012-01-12 11:12:28 +09005
6include $(TOPDIR)/config.mk
7
8LIB = $(obj)lib$(BOARD).o
9
10COBJS := r0p7734.o
11SOBJS := lowlevel_init.o
12
13SRCS := $(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))
19
20#########################################################################
21
22# defines $(obj).depend target
23include $(SRCTREE)/rules.mk
24
25sinclude $(obj).depend
26
27#########################################################################