xref: /openbmc/u-boot/board/atmel/sama5d3xek/Makefile (revision 3225f34e)
1*3225f34eSBo Shen#
2*3225f34eSBo Shen# (C) Copyright 2003-2008
3*3225f34eSBo Shen# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4*3225f34eSBo Shen#
5*3225f34eSBo Shen# (C) Copyright 2008
6*3225f34eSBo Shen# Stelian Pop <stelian@popies.net>
7*3225f34eSBo Shen# Lead Tech Design <www.leadtechdesign.com>
8*3225f34eSBo Shen#
9*3225f34eSBo Shen# (C) Copyright 2013
10*3225f34eSBo Shen# Bo Shen <voice.shen@atmel.com>
11*3225f34eSBo Shen#
12*3225f34eSBo Shen# See file CREDITS for list of people who contributed to this
13*3225f34eSBo Shen# project.
14*3225f34eSBo Shen#
15*3225f34eSBo Shen# This program is free software; you can redistribute it and/or
16*3225f34eSBo Shen# modify it under the terms of the GNU General Public License as
17*3225f34eSBo Shen# published by the Free Software Foundation; either version 2 of
18*3225f34eSBo Shen# the License, or (at your option) any later version.
19*3225f34eSBo Shen#
20*3225f34eSBo Shen# This program is distributed in the hope that it will be useful,
21*3225f34eSBo Shen# but WITHOUT ANY WARRANTY; without even the implied warranty of
22*3225f34eSBo Shen# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23*3225f34eSBo Shen# GNU General Public License for more details.
24*3225f34eSBo Shen#
25*3225f34eSBo Shen# You should have received a copy of the GNU General Public License
26*3225f34eSBo Shen# along with this program; if not, write to the Free Software
27*3225f34eSBo Shen# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
28*3225f34eSBo Shen# MA 02111-1307 USA
29*3225f34eSBo Shen#
30*3225f34eSBo Shen
31*3225f34eSBo Sheninclude $(TOPDIR)/config.mk
32*3225f34eSBo Shen
33*3225f34eSBo ShenLIB	= $(obj)lib$(BOARD).o
34*3225f34eSBo Shen
35*3225f34eSBo ShenCOBJS-y += sama5d3xek.o
36*3225f34eSBo Shen
37*3225f34eSBo ShenSRCS	:= $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
38*3225f34eSBo ShenOBJS	:= $(addprefix $(obj),$(COBJS-y))
39*3225f34eSBo ShenSOBJS	:= $(addprefix $(obj),$(SOBJS))
40*3225f34eSBo Shen
41*3225f34eSBo Shen$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
42*3225f34eSBo Shen	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
43*3225f34eSBo Shen
44*3225f34eSBo Shen#########################################################################
45*3225f34eSBo Shen
46*3225f34eSBo Shen# defines $(obj).depend target
47*3225f34eSBo Sheninclude $(SRCTREE)/rules.mk
48*3225f34eSBo Shen
49*3225f34eSBo Shensinclude $(obj).depend
50*3225f34eSBo Shen
51*3225f34eSBo Shen#########################################################################
52