xref: /openbmc/u-boot/board/LaCie/edminiv2/Makefile (revision ce9c227c)
1*ce9c227cSAlbert Aribaud#
2*ce9c227cSAlbert Aribaud# Copyright (C) 2010 Albert ARIBAUD <albert.aribaud@free.fr>
3*ce9c227cSAlbert Aribaud#
4*ce9c227cSAlbert Aribaud# Based on original Kirkwood support which is
5*ce9c227cSAlbert Aribaud# (C) Copyright 2009
6*ce9c227cSAlbert Aribaud# Marvell Semiconductor <www.marvell.com>
7*ce9c227cSAlbert Aribaud# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
8*ce9c227cSAlbert Aribaud#
9*ce9c227cSAlbert Aribaud# See file CREDITS for list of people who contributed to this
10*ce9c227cSAlbert Aribaud# project.
11*ce9c227cSAlbert Aribaud#
12*ce9c227cSAlbert Aribaud# This program is free software; you can redistribute it and/or
13*ce9c227cSAlbert Aribaud# modify it under the terms of the GNU General Public License as
14*ce9c227cSAlbert Aribaud# published by the Free Software Foundation; either version 2 of
15*ce9c227cSAlbert Aribaud# the License, or (at your option) any later version.
16*ce9c227cSAlbert Aribaud#
17*ce9c227cSAlbert Aribaud# This program is distributed in the hope that it will be useful,
18*ce9c227cSAlbert Aribaud# but WITHOUT ANY WARRANTY; without even the implied warranty of
19*ce9c227cSAlbert Aribaud# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
20*ce9c227cSAlbert Aribaud# GNU General Public License for more details.
21*ce9c227cSAlbert Aribaud#
22*ce9c227cSAlbert Aribaud# You should have received a copy of the GNU General Public License
23*ce9c227cSAlbert Aribaud# along with this program; if not, write to the Free Software
24*ce9c227cSAlbert Aribaud# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25*ce9c227cSAlbert Aribaud# MA 02110-1301 USA
26*ce9c227cSAlbert Aribaud#
27*ce9c227cSAlbert Aribaud
28*ce9c227cSAlbert Aribaudinclude $(TOPDIR)/config.mk
29*ce9c227cSAlbert Aribaud
30*ce9c227cSAlbert AribaudLIB	= $(obj)lib$(BOARD).a
31*ce9c227cSAlbert Aribaud
32*ce9c227cSAlbert AribaudCOBJS	:= edminiv2.o
33*ce9c227cSAlbert Aribaud
34*ce9c227cSAlbert AribaudSRCS	:= $(COBJS:.o=.c)
35*ce9c227cSAlbert AribaudOBJS	:= $(addprefix $(obj),$(COBJS))
36*ce9c227cSAlbert Aribaud
37*ce9c227cSAlbert Aribaud$(LIB):	$(obj).depend $(OBJS)
38*ce9c227cSAlbert Aribaud	$(AR) $(ARFLAGS) $@ $(OBJS)
39*ce9c227cSAlbert Aribaud
40*ce9c227cSAlbert Aribaudclean:
41*ce9c227cSAlbert Aribaud	rm -f $(OBJS)
42*ce9c227cSAlbert Aribaud
43*ce9c227cSAlbert Aribauddistclean:	clean
44*ce9c227cSAlbert Aribaud	rm -f $(LIB) core *.bak .depend
45*ce9c227cSAlbert Aribaud
46*ce9c227cSAlbert Aribaud#########################################################################
47*ce9c227cSAlbert Aribaud
48*ce9c227cSAlbert Aribaud# defines $(obj).depend target
49*ce9c227cSAlbert Aribaudinclude $(SRCTREE)/rules.mk
50*ce9c227cSAlbert Aribaud
51*ce9c227cSAlbert Aribaudsinclude $(obj).depend
52*ce9c227cSAlbert Aribaud
53*ce9c227cSAlbert Aribaud#########################################################################
54