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