xref: /openbmc/u-boot/board/ti/dra7xx/Makefile (revision 1a459660)
1687054a7SLokesh Vutla#
2687054a7SLokesh Vutla# (C) Copyright 2013
3687054a7SLokesh Vutla# Texas Instruments, <www.ti.com>
4687054a7SLokesh Vutla#
5*1a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
6687054a7SLokesh Vutla#
7687054a7SLokesh Vutla
8687054a7SLokesh Vutlainclude $(TOPDIR)/config.mk
9687054a7SLokesh Vutla
10687054a7SLokesh VutlaLIB	= $(obj)lib$(BOARD).o
11687054a7SLokesh Vutla
12687054a7SLokesh VutlaCOBJS	:= evm.o
13687054a7SLokesh Vutla
14687054a7SLokesh VutlaSRCS	:= $(COBJS:.o=.c)
15687054a7SLokesh VutlaOBJS	:= $(addprefix $(obj),$(COBJS))
16687054a7SLokesh Vutla
17687054a7SLokesh Vutla$(LIB):	$(obj).depend $(OBJS)
18687054a7SLokesh Vutla	$(call cmd_link_o_target, $(OBJS))
19687054a7SLokesh Vutla
20687054a7SLokesh Vutlaclean:
21687054a7SLokesh Vutla	rm -f $(OBJS)
22687054a7SLokesh Vutla
23687054a7SLokesh Vutladistclean:	clean
24687054a7SLokesh Vutla	rm -f $(LIB) core *.bak $(obj).depend
25687054a7SLokesh Vutla
26687054a7SLokesh Vutla#########################################################################
27687054a7SLokesh Vutla
28687054a7SLokesh Vutla# defines $(obj).depend target
29687054a7SLokesh Vutlainclude $(SRCTREE)/rules.mk
30687054a7SLokesh Vutla
31687054a7SLokesh Vutlasinclude $(obj).depend
32687054a7SLokesh Vutla
33687054a7SLokesh Vutla#########################################################################
34