xref: /openbmc/u-boot/board/spear/spear320/Makefile (revision 6d8962e8)
17da69236SVipin KUMAR#
27da69236SVipin KUMAR# (C) Copyright 2000-2004
37da69236SVipin KUMAR# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
47da69236SVipin KUMAR#
57da69236SVipin KUMAR# See file CREDITS for list of people who contributed to this
67da69236SVipin KUMAR# project.
77da69236SVipin KUMAR#
87da69236SVipin KUMAR# This program is free software; you can redistribute it and/or
97da69236SVipin KUMAR# modify it under the terms of the GNU General Public License as
107da69236SVipin KUMAR# published by the Free Software Foundation; either version 2 of
117da69236SVipin KUMAR# the License, or (at your option) any later version.
127da69236SVipin KUMAR#
137da69236SVipin KUMAR# This program is distributed in the hope that it will be useful,
147da69236SVipin KUMAR# but WITHOUT ANY WARRANTY; without even the implied warranty of
157da69236SVipin KUMAR# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
167da69236SVipin KUMAR# GNU General Public License for more details.
177da69236SVipin KUMAR#
187da69236SVipin KUMAR# You should have received a copy of the GNU General Public License
197da69236SVipin KUMAR# along with this program; if not, write to the Free Software
207da69236SVipin KUMAR# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
217da69236SVipin KUMAR# MA 02111-1307 USA
227da69236SVipin KUMAR#
237da69236SVipin KUMAR
247da69236SVipin KUMARinclude $(TOPDIR)/config.mk
257da69236SVipin KUMAR
26*6d8962e8SSebastien CarlierLIB	= $(obj)lib$(BOARD).o
277da69236SVipin KUMAR
287da69236SVipin KUMARCOBJS	:= spear320.o
297da69236SVipin KUMARSOBJS	:=
307da69236SVipin KUMAR
317da69236SVipin KUMARSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
327da69236SVipin KUMAROBJS	:= $(addprefix $(obj),$(COBJS))
337da69236SVipin KUMARSOBJS	:= $(addprefix $(obj),$(SOBJS))
347da69236SVipin KUMAR
357da69236SVipin KUMAR$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
36*6d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
377da69236SVipin KUMAR
387da69236SVipin KUMARclean:
397da69236SVipin KUMAR	rm -f $(SOBJS) $(OBJS)
407da69236SVipin KUMAR
417da69236SVipin KUMARdistclean:	clean
427da69236SVipin KUMAR	rm -f $(LIB) core *.bak $(obj).depend
437da69236SVipin KUMAR
447da69236SVipin KUMAR#########################################################################
457da69236SVipin KUMAR
467da69236SVipin KUMAR# defines $(obj).depend target
477da69236SVipin KUMARinclude $(SRCTREE)/rules.mk
487da69236SVipin KUMAR
497da69236SVipin KUMARsinclude $(obj).depend
507da69236SVipin KUMAR
517da69236SVipin KUMAR#########################################################################
52