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