xref: /openbmc/u-boot/board/ti/ti816x/Makefile (revision 6d4511b2)
1#
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#########################################################################
38