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