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