xref: /openbmc/u-boot/board/nvidia/cardhu/Makefile (revision f01b631f)
1*f01b631fSTom Warren#
2*f01b631fSTom Warren#  (C) Copyright 2010-2012
3*f01b631fSTom Warren#  NVIDIA Corporation <www.nvidia.com>
4*f01b631fSTom Warren#
5*f01b631fSTom Warren#
6*f01b631fSTom Warren#  See file CREDITS for list of people who contributed to this
7*f01b631fSTom Warren#  project.
8*f01b631fSTom Warren#
9*f01b631fSTom Warren#  This program is free software; you can redistribute it and/or
10*f01b631fSTom Warren#  modify it under the terms of the GNU General Public License as
11*f01b631fSTom Warren#  published by the Free Software Foundation; either version 2 of
12*f01b631fSTom Warren#  the License, or (at your option) any later version.
13*f01b631fSTom Warren#
14*f01b631fSTom Warren#  This program is distributed in the hope that it will be useful,
15*f01b631fSTom Warren#  but WITHOUT ANY WARRANTY; without even the implied warranty of
16*f01b631fSTom Warren#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17*f01b631fSTom Warren#  GNU General Public License for more details.
18*f01b631fSTom Warren#
19*f01b631fSTom Warren#  You should have received a copy of the GNU General Public License
20*f01b631fSTom Warren#  along with this program; if not, write to the Free Software
21*f01b631fSTom Warren#  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22*f01b631fSTom Warren#  MA 02111-1307 USA
23*f01b631fSTom Warren#
24*f01b631fSTom Warren
25*f01b631fSTom Warreninclude $(TOPDIR)/config.mk
26*f01b631fSTom Warren
27*f01b631fSTom WarrenLIB	= $(obj)lib$(BOARD).o
28*f01b631fSTom Warren
29*f01b631fSTom WarrenCOBJS	:= $(BOARD).o
30*f01b631fSTom Warren
31*f01b631fSTom WarrenSRCS	:= $(COBJS:.o=.c)
32*f01b631fSTom WarrenOBJS	:= $(addprefix $(obj),$(COBJS))
33*f01b631fSTom Warren
34*f01b631fSTom Warren$(LIB):	$(obj).depend $(OBJS)
35*f01b631fSTom Warren	$(call cmd_link_o_target, $(OBJS))
36*f01b631fSTom Warren
37*f01b631fSTom Warren#########################################################################
38*f01b631fSTom Warren
39*f01b631fSTom Warren# defines $(obj).depend target
40*f01b631fSTom Warreninclude $(SRCTREE)/rules.mk
41*f01b631fSTom Warren
42*f01b631fSTom Warrensinclude $(obj).depend
43*f01b631fSTom Warren
44*f01b631fSTom Warren#########################################################################
45