13e76d62aSSteve Sakoman# 23e76d62aSSteve Sakoman# (C) Copyright 2000, 2001, 2002 33e76d62aSSteve Sakoman# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 43e76d62aSSteve Sakoman# 53e76d62aSSteve Sakoman# See file CREDITS for list of people who contributed to this 63e76d62aSSteve Sakoman# project. 73e76d62aSSteve Sakoman# 83e76d62aSSteve Sakoman# This program is free software; you can redistribute it and/or 93e76d62aSSteve Sakoman# modify it under the terms of the GNU General Public License as 103e76d62aSSteve Sakoman# published by the Free Software Foundation; either version 2 of 113e76d62aSSteve Sakoman# the License, or (at your option) any later version. 123e76d62aSSteve Sakoman# 133e76d62aSSteve Sakoman# This program is distributed in the hope that it will be useful, 143e76d62aSSteve Sakoman# but WITHOUT ANY WARRANTY; without even the implied warranty of 153e76d62aSSteve Sakoman# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 163e76d62aSSteve Sakoman# GNU General Public License for more details. 173e76d62aSSteve Sakoman# 183e76d62aSSteve Sakoman# You should have received a copy of the GNU General Public License 193e76d62aSSteve Sakoman# along with this program; if not, write to the Free Software 203e76d62aSSteve Sakoman# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 213e76d62aSSteve Sakoman# MA 02111-1307 USA 223e76d62aSSteve Sakoman# 233e76d62aSSteve Sakoman 243e76d62aSSteve Sakomaninclude $(TOPDIR)/config.mk 253e76d62aSSteve Sakoman 266d8962e8SSebastien CarlierLIB = $(obj)lib$(BOARD).o 273e76d62aSSteve Sakoman 28*508a58faSSricharanCOBJS := sdp.o 29*508a58faSSricharan 30bcae7211SAneesh Vifndef CONFIG_SPL_BUILD 31*508a58faSSricharanCOBJS += cmd_bat.o 32bcae7211SAneesh Vendif 333e76d62aSSteve Sakoman 343e76d62aSSteve SakomanSRCS := $(COBJS:.o=.c) 353e76d62aSSteve SakomanOBJS := $(addprefix $(obj),$(COBJS)) 363e76d62aSSteve Sakoman 373e76d62aSSteve Sakoman$(LIB): $(obj).depend $(OBJS) 386d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 393e76d62aSSteve Sakoman 403e76d62aSSteve Sakoman######################################################################### 413e76d62aSSteve Sakoman 423e76d62aSSteve Sakoman# defines $(obj).depend target 433e76d62aSSteve Sakomaninclude $(SRCTREE)/rules.mk 443e76d62aSSteve Sakoman 453e76d62aSSteve Sakomansinclude $(obj).depend 463e76d62aSSteve Sakoman 473e76d62aSSteve Sakoman######################################################################### 48