xref: /openbmc/u-boot/board/renesas/ecovec/Makefile (revision 3765b3e7)
1#
2# Copyright (C) 2011 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3# Copyright (C) 2011 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
4#
5# SPDX-License-Identifier:	GPL-2.0+
6
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)lib$(BOARD).o
11
12COBJS   := ecovec.o
13SOBJS   := lowlevel_init.o
14
15SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
16OBJS	:= $(addprefix $(obj),$(COBJS))
17SOBJS	:= $(addprefix $(obj),$(SOBJS))
18
19$(LIB): $(OBJS) $(SOBJS)
20		$(call cmd_link_o_target, $(OBJS) $(SOBJS))
21
22#########################################################################
23
24# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
26
27sinclude $(obj).depend
28
29#########################################################################
30