blob: 107e544774912c17341ebbdcf3743138112e1d99 [file] [log] [blame]
Nobuhiro Iwamatsu74d9c162009-06-25 16:31:26 +09001#
2# Copyright (C) 2009 Renesas Solutions Corp.
3# Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
4#
5# board/espt/Makefile
6#
Wolfgang Denk1a459662013-07-08 09:37:19 +02007# SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu74d9c162009-06-25 16:31:26 +09008#
9
10include $(TOPDIR)/config.mk
11
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010012LIB = $(obj)lib$(BOARD).o
Nobuhiro Iwamatsu74d9c162009-06-25 16:31:26 +090013
14COBJS := espt.o
15SOBJS := lowlevel_init.o
16
17SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
18OBJS := $(addprefix $(obj),$(COBJS))
19SOBJS := $(addprefix $(obj),$(SOBJS))
20
21$(LIB): $(OBJS) $(SOBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010022 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Nobuhiro Iwamatsu74d9c162009-06-25 16:31:26 +090023
Nobuhiro Iwamatsu74d9c162009-06-25 16:31:26 +090024#########################################################################
25
26# defines $(obj).depend target
27include $(SRCTREE)/rules.mk
28
29sinclude $(obj).depend
30
31#########################################################################