blob: a9ba17568e46d32bc0fd850a10405b764b627d1f [file] [log] [blame]
Nobuhiro Iwamatsuaf2db2c2012-05-09 15:59:30 +09001#
2# Copyright (C) 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
3#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsuaf2db2c2012-05-09 15:59:30 +09005
6include $(TOPDIR)/config.mk
7
8LIB = $(obj)lib$(BOARD).o
9
10COBJS := ap_sh4a_4a.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#########################################################################