blob: 2fafcb86823abda0c8dde8fe32c336681b7de160 [file] [log] [blame]
Raphael Assenat843a7ee2012-10-22 05:23:46 +00001#
2# (C) Copyright 2000, 2001, 2002
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# Adapted from ti/evm/Makefile
6#
Wolfgang Denk1a459662013-07-08 09:37:19 +02007# SPDX-License-Identifier: GPL-2.0+
Raphael Assenat843a7ee2012-10-22 05:23:46 +00008#
9
10include $(TOPDIR)/config.mk
11
12LIB = $(obj)lib$(BOARD).o
13
14COBJS := eco5pk.o
15
16SRCS := $(COBJS:.o=.c)
17OBJS := $(addprefix $(obj),$(COBJS))
18
19$(LIB): $(obj).depend $(OBJS)
20 $(call cmd_link_o_target, $(OBJS))
21
22#########################################################################
23
24# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
26
27sinclude $(obj).depend