xref: /openbmc/u-boot/board/spear/spear310/Makefile (revision 080cfee7)
1*080cfee7SVipin KUMAR#
2*080cfee7SVipin KUMAR# (C) Copyright 2000-2004
3*080cfee7SVipin KUMAR# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4*080cfee7SVipin KUMAR#
5*080cfee7SVipin KUMAR# See file CREDITS for list of people who contributed to this
6*080cfee7SVipin KUMAR# project.
7*080cfee7SVipin KUMAR#
8*080cfee7SVipin KUMAR# This program is free software; you can redistribute it and/or
9*080cfee7SVipin KUMAR# modify it under the terms of the GNU General Public License as
10*080cfee7SVipin KUMAR# published by the Free Software Foundation; either version 2 of
11*080cfee7SVipin KUMAR# the License, or (at your option) any later version.
12*080cfee7SVipin KUMAR#
13*080cfee7SVipin KUMAR# This program is distributed in the hope that it will be useful,
14*080cfee7SVipin KUMAR# but WITHOUT ANY WARRANTY; without even the implied warranty of
15*080cfee7SVipin KUMAR# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16*080cfee7SVipin KUMAR# GNU General Public License for more details.
17*080cfee7SVipin KUMAR#
18*080cfee7SVipin KUMAR# You should have received a copy of the GNU General Public License
19*080cfee7SVipin KUMAR# along with this program; if not, write to the Free Software
20*080cfee7SVipin KUMAR# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21*080cfee7SVipin KUMAR# MA 02111-1307 USA
22*080cfee7SVipin KUMAR#
23*080cfee7SVipin KUMAR
24*080cfee7SVipin KUMARinclude $(TOPDIR)/config.mk
25*080cfee7SVipin KUMAR
26*080cfee7SVipin KUMARLIB	= $(obj)lib$(BOARD).a
27*080cfee7SVipin KUMAR
28*080cfee7SVipin KUMARCOBJS	:= spear310.o
29*080cfee7SVipin KUMARSOBJS	:=
30*080cfee7SVipin KUMAR
31*080cfee7SVipin KUMARSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
32*080cfee7SVipin KUMAROBJS	:= $(addprefix $(obj),$(COBJS))
33*080cfee7SVipin KUMARSOBJS	:= $(addprefix $(obj),$(SOBJS))
34*080cfee7SVipin KUMAR
35*080cfee7SVipin KUMAR$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
36*080cfee7SVipin KUMAR	$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
37*080cfee7SVipin KUMAR
38*080cfee7SVipin KUMARclean:
39*080cfee7SVipin KUMAR	rm -f $(SOBJS) $(OBJS)
40*080cfee7SVipin KUMAR
41*080cfee7SVipin KUMARdistclean:	clean
42*080cfee7SVipin KUMAR	rm -f $(LIB) core *.bak $(obj).depend
43*080cfee7SVipin KUMAR
44*080cfee7SVipin KUMAR#########################################################################
45*080cfee7SVipin KUMAR
46*080cfee7SVipin KUMAR# defines $(obj).depend target
47*080cfee7SVipin KUMARinclude $(SRCTREE)/rules.mk
48*080cfee7SVipin KUMAR
49*080cfee7SVipin KUMARsinclude $(obj).depend
50*080cfee7SVipin KUMAR
51*080cfee7SVipin KUMAR#########################################################################
52