1*76d7f574SJason Liu#
2*76d7f574SJason Liu# Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de>
3*76d7f574SJason Liu#
4*76d7f574SJason Liu# (C) Copyright 2011 Freescale Semiconductor, Inc.
5*76d7f574SJason Liu#
6*76d7f574SJason Liu# This program is free software; you can redistribute it and/or
7*76d7f574SJason Liu# modify it under the terms of the GNU General Public License as
8*76d7f574SJason Liu# published by the Free Software Foundation; either version 2 of
9*76d7f574SJason Liu# the License, or (at your option) any later version.
10*76d7f574SJason Liu#
11*76d7f574SJason Liu# This program is distributed in the hope that it will be useful,
12*76d7f574SJason Liu# but WITHOUT ANY WARRANTY; without even the implied warranty of
13*76d7f574SJason Liu# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*76d7f574SJason Liu# GNU General Public License for more details.
15*76d7f574SJason Liu#
16*76d7f574SJason Liu# You should have received a copy of the GNU General Public License
17*76d7f574SJason Liu# along with this program; if not, write to the Free Software
18*76d7f574SJason Liu# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
19*76d7f574SJason Liu# MA 02111-1307 USA
20*76d7f574SJason Liu#
21*76d7f574SJason Liu
22*76d7f574SJason Liuinclude $(TOPDIR)/config.mk
23*76d7f574SJason Liu
24*76d7f574SJason LiuLIB	= $(obj)lib$(BOARD).o
25*76d7f574SJason Liu
26*76d7f574SJason LiuCOBJS	:= mx6qarm2.o
27*76d7f574SJason Liu
28*76d7f574SJason LiuSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
29*76d7f574SJason LiuOBJS	:= $(addprefix $(obj),$(COBJS))
30*76d7f574SJason LiuSOBJS	:= $(addprefix $(obj),$(SOBJS))
31*76d7f574SJason Liu
32*76d7f574SJason Liu$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
33*76d7f574SJason Liu	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
34*76d7f574SJason Liu
35*76d7f574SJason Liu#########################################################################
36*76d7f574SJason Liu
37*76d7f574SJason Liu# defines $(obj).depend target
38*76d7f574SJason Liuinclude $(SRCTREE)/rules.mk
39*76d7f574SJason Liu
40*76d7f574SJason Liusinclude $(obj).depend
41*76d7f574SJason Liu
42*76d7f574SJason Liu#########################################################################
43