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