1*64a93860SMarek Vasut# 2*64a93860SMarek Vasut# (C) Copyright 2000-2006 3*64a93860SMarek Vasut# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4*64a93860SMarek Vasut# 5*64a93860SMarek Vasut# See file CREDITS for list of people who contributed to this 6*64a93860SMarek Vasut# project. 7*64a93860SMarek Vasut# 8*64a93860SMarek Vasut# This program is free software; you can redistribute it and/or 9*64a93860SMarek Vasut# modify it under the terms of the GNU General Public License as 10*64a93860SMarek Vasut# published by the Free Software Foundation; either version 2 of 11*64a93860SMarek Vasut# the License, or (at your option) any later version. 12*64a93860SMarek Vasut# 13*64a93860SMarek Vasut# This program is distributed in the hope that it will be useful, 14*64a93860SMarek Vasut# but WITHOUT ANY WARRANTY; without even the implied warranty of 15*64a93860SMarek Vasut# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16*64a93860SMarek Vasut# GNU General Public License for more details. 17*64a93860SMarek Vasut# 18*64a93860SMarek Vasut# You should have received a copy of the GNU General Public License 19*64a93860SMarek Vasut# along with this program; if not, write to the Free Software 20*64a93860SMarek Vasut# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 21*64a93860SMarek Vasut# MA 02111-1307 USA 22*64a93860SMarek Vasut# 23*64a93860SMarek Vasut 24*64a93860SMarek Vasutinclude $(TOPDIR)/config.mk 25*64a93860SMarek Vasut 26*64a93860SMarek VasutLIB = $(obj)lib$(BOARD).o 27*64a93860SMarek Vasut 28*64a93860SMarek Vasutifndef CONFIG_SPL_BUILD 29*64a93860SMarek VasutCOBJS := mx23_olinuxino.o 30*64a93860SMarek Vasutelse 31*64a93860SMarek VasutCOBJS := spl_boot.o 32*64a93860SMarek Vasutendif 33*64a93860SMarek Vasut 34*64a93860SMarek VasutSRCS := $(COBJS:.o=.c) 35*64a93860SMarek VasutOBJS := $(addprefix $(obj),$(COBJS)) 36*64a93860SMarek Vasut 37*64a93860SMarek Vasut$(LIB): $(obj).depend $(OBJS) 38*64a93860SMarek Vasut $(call cmd_link_o_target, $(OBJS)) 39*64a93860SMarek Vasut 40*64a93860SMarek Vasut######################################################################### 41*64a93860SMarek Vasut 42*64a93860SMarek Vasut# defines $(obj).depend target 43*64a93860SMarek Vasutinclude $(SRCTREE)/rules.mk 44*64a93860SMarek Vasut 45*64a93860SMarek Vasutsinclude $(obj).depend 46*64a93860SMarek Vasut 47*64a93860SMarek Vasut######################################################################### 48