xref: /openbmc/u-boot/board/nvidia/harmony/Makefile (revision f4ef6668)
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
27efc05ae1STom WarrenLIB	= $(obj)lib$(BOARD).o
28efc05ae1STom Warren
29*f4ef6668STom WarrenCOBJS	:= $(BOARD).o
30efc05ae1STom WarrenCOBJS	+= ../common/board.o
31efc05ae1STom Warren
32efc05ae1STom WarrenSRCS	:= $(COBJS:.o=.c)
33efc05ae1STom WarrenOBJS	:= $(addprefix $(obj),$(COBJS))
34efc05ae1STom Warren
35efc05ae1STom Warren$(LIB):	$(obj).depend $(OBJS)
36efc05ae1STom Warren	$(AR) $(ARFLAGS) $@ $(OBJS)
37efc05ae1STom Warren
38efc05ae1STom Warrenclean:
39efc05ae1STom Warren	rm -f $(OBJS)
40efc05ae1STom Warren
41efc05ae1STom Warrendistclean:	clean
42efc05ae1STom Warren	rm -f $(LIB) core *.bak $(obj).depend
43efc05ae1STom Warren
44efc05ae1STom Warren#########################################################################
45efc05ae1STom Warren
46efc05ae1STom Warren# defines $(obj).depend target
47efc05ae1STom Warreninclude $(SRCTREE)/rules.mk
48efc05ae1STom Warren
49efc05ae1STom Warrensinclude $(obj).depend
50efc05ae1STom Warren
51efc05ae1STom Warren#########################################################################
52