xref: /openbmc/u-boot/board/LaCie/net2big_v2/Makefile (revision 5628fb75)
1*5628fb75SSimon Guinot#
2*5628fb75SSimon Guinot# Copyright (C) 2011 Simon Guinot <sguinot@lacie.com>
3*5628fb75SSimon Guinot#
4*5628fb75SSimon Guinot# Based on Kirkwood support:
5*5628fb75SSimon Guinot# (C) Copyright 2009
6*5628fb75SSimon Guinot# Marvell Semiconductor <www.marvell.com>
7*5628fb75SSimon Guinot# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
8*5628fb75SSimon Guinot#
9*5628fb75SSimon Guinot# See file CREDITS for list of people who contributed to this
10*5628fb75SSimon Guinot# project.
11*5628fb75SSimon Guinot#
12*5628fb75SSimon Guinot# This program is free software; you can redistribute it and/or
13*5628fb75SSimon Guinot# modify it under the terms of the GNU General Public License as
14*5628fb75SSimon Guinot# published by the Free Software Foundation; either version 2 of
15*5628fb75SSimon Guinot# the License, or (at your option) any later version.
16*5628fb75SSimon Guinot#
17*5628fb75SSimon Guinot# This program is distributed in the hope that it will be useful,
18*5628fb75SSimon Guinot# but WITHOUT ANY WARRANTY; without even the implied warranty of
19*5628fb75SSimon Guinot# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
20*5628fb75SSimon Guinot# GNU General Public License for more details.
21*5628fb75SSimon Guinot#
22*5628fb75SSimon Guinot
23*5628fb75SSimon Guinotinclude $(TOPDIR)/config.mk
24*5628fb75SSimon Guinot
25*5628fb75SSimon GuinotLIB	= $(obj)lib$(BOARD).o
26*5628fb75SSimon Guinot
27*5628fb75SSimon GuinotCOBJS	:= net2big_v2.o
28*5628fb75SSimon Guinot
29*5628fb75SSimon GuinotSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
30*5628fb75SSimon GuinotOBJS	:= $(addprefix $(obj),$(COBJS))
31*5628fb75SSimon GuinotSOBJS	:= $(addprefix $(obj),$(SOBJS))
32*5628fb75SSimon Guinot
33*5628fb75SSimon Guinot$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
34*5628fb75SSimon Guinot	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
35*5628fb75SSimon Guinot
36*5628fb75SSimon Guinotclean:
37*5628fb75SSimon Guinot	rm -f $(SOBJS) $(OBJS)
38*5628fb75SSimon Guinot
39*5628fb75SSimon Guinotdistclean:	clean
40*5628fb75SSimon Guinot	rm -f $(LIB) core *.bak .depend
41*5628fb75SSimon Guinot
42*5628fb75SSimon Guinot#########################################################################
43*5628fb75SSimon Guinot
44*5628fb75SSimon Guinot# defines $(obj).depend target
45*5628fb75SSimon Guinotinclude $(SRCTREE)/rules.mk
46*5628fb75SSimon Guinot
47*5628fb75SSimon Guinotsinclude $(obj).depend
48*5628fb75SSimon Guinot
49*5628fb75SSimon Guinot#########################################################################
50