blob: 17ce72a3cc1e5b448c49c3cafc38bc745200e236 [file] [log] [blame]
TENART Antoine7a5eb652013-07-02 12:06:00 +02001#
2# Copyright (C) 2013, Adeneo Embedded <www.adeneo-embedded.com>
3# Antoine Tenart, <atenart@adeneo-embedded.com>
4#
5# Based on TI-PSP-04.00.02.14 :
6#
7# Copyright (C) 2009, Texas Instruments, Incorporated
8#
9# SPDX-License-Identifier: GPL-2.0
10#
11
12include $(TOPDIR)/config.mk
13
14LIB = $(obj)lib$(BOARD).o
15
16COBJS := evm.o
17
18SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
19OBJS := $(addprefix $(obj),$(COBJS))
20
21$(LIB): $(obj).depend $(OBJS)
22 $(call cmd_link_o_target, $(OBJS))
23
24clean:
25 rm -f $(OBJS)
26
27distclean: clean
28 rm -f $(LIB) core *.bak $(obj).depend
29
30#########################################################################
31
32# defines $(obj).depend target
33include $(SRCTREE)/rules.mk
34
35sinclude $(obj).depend
36
37#########################################################################