xref: /openbmc/u-boot/board/spear/spear600/Makefile (revision d014e033)
1566c9c16SVipin KUMAR#
2566c9c16SVipin KUMAR# (C) Copyright 2000-2004
3566c9c16SVipin KUMAR# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4566c9c16SVipin KUMAR#
5566c9c16SVipin KUMAR# See file CREDITS for list of people who contributed to this
6566c9c16SVipin KUMAR# project.
7566c9c16SVipin KUMAR#
8566c9c16SVipin KUMAR# This program is free software; you can redistribute it and/or
9566c9c16SVipin KUMAR# modify it under the terms of the GNU General Public License as
10566c9c16SVipin KUMAR# published by the Free Software Foundation; either version 2 of
11566c9c16SVipin KUMAR# the License, or (at your option) any later version.
12566c9c16SVipin KUMAR#
13566c9c16SVipin KUMAR# This program is distributed in the hope that it will be useful,
14566c9c16SVipin KUMAR# but WITHOUT ANY WARRANTY; without even the implied warranty of
15566c9c16SVipin KUMAR# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16566c9c16SVipin KUMAR# GNU General Public License for more details.
17566c9c16SVipin KUMAR#
18566c9c16SVipin KUMAR# You should have received a copy of the GNU General Public License
19566c9c16SVipin KUMAR# along with this program; if not, write to the Free Software
20566c9c16SVipin KUMAR# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21566c9c16SVipin KUMAR# MA 02111-1307 USA
22566c9c16SVipin KUMAR#
23566c9c16SVipin KUMAR
24566c9c16SVipin KUMARinclude $(TOPDIR)/config.mk
25566c9c16SVipin KUMAR
266d8962e8SSebastien CarlierLIB	= $(obj)lib$(BOARD).o
27566c9c16SVipin KUMAR
28*d014e033SStefan Roeseifndef CONFIG_SPL_BUILD
29566c9c16SVipin KUMARCOBJS	:= spear600.o
30*d014e033SStefan Roeseendif
31566c9c16SVipin KUMARSOBJS	:=
32566c9c16SVipin KUMAR
33566c9c16SVipin KUMARSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
34566c9c16SVipin KUMAROBJS	:= $(addprefix $(obj),$(COBJS))
35566c9c16SVipin KUMARSOBJS	:= $(addprefix $(obj),$(SOBJS))
36566c9c16SVipin KUMAR
37566c9c16SVipin KUMAR$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
386d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
39566c9c16SVipin KUMAR
40566c9c16SVipin KUMAR#########################################################################
41566c9c16SVipin KUMAR
42566c9c16SVipin KUMAR# defines $(obj).depend target
43566c9c16SVipin KUMARinclude $(SRCTREE)/rules.mk
44566c9c16SVipin KUMAR
45566c9c16SVipin KUMARsinclude $(obj).depend
46566c9c16SVipin KUMAR
47566c9c16SVipin KUMAR#########################################################################
48