xref: /openbmc/u-boot/board/Marvell/aspenite/Makefile (revision 26ddff2d)
1c291e2fcSPrafulla Wadaskar#
2c291e2fcSPrafulla Wadaskar# (C) Copyright 2010
3c291e2fcSPrafulla Wadaskar# Marvell Semiconductor <www.marvell.com>
4c291e2fcSPrafulla Wadaskar# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
5c291e2fcSPrafulla Wadaskar# Contributor: Mahavir Jain <mjain@marvell.com>
6c291e2fcSPrafulla Wadaskar#
7c291e2fcSPrafulla Wadaskar# See file CREDITS for list of people who contributed to this
8c291e2fcSPrafulla Wadaskar# project.
9c291e2fcSPrafulla Wadaskar#
10c291e2fcSPrafulla Wadaskar# This program is free software; you can redistribute it and/or
11c291e2fcSPrafulla Wadaskar# modify it under the terms of the GNU General Public License as
12c291e2fcSPrafulla Wadaskar# published by the Free Software Foundation; either version 2 of
13c291e2fcSPrafulla Wadaskar# the License, or (at your option) any later version.
14c291e2fcSPrafulla Wadaskar#
15c291e2fcSPrafulla Wadaskar# This program is distributed in the hope that it will be useful,
16c291e2fcSPrafulla Wadaskar# but WITHOUT ANY WARRANTY; without even the implied warranty of
17c291e2fcSPrafulla Wadaskar# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
18c291e2fcSPrafulla Wadaskar# GNU General Public License for more details.
19c291e2fcSPrafulla Wadaskar#
20c291e2fcSPrafulla Wadaskar# You should have received a copy of the GNU General Public License
21c291e2fcSPrafulla Wadaskar# along with this program; if not, write to the Free Software
22c291e2fcSPrafulla Wadaskar# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
23c291e2fcSPrafulla Wadaskar# MA 02110-1301 USA
24c291e2fcSPrafulla Wadaskar#
25c291e2fcSPrafulla Wadaskar
26c291e2fcSPrafulla Wadaskarinclude $(TOPDIR)/config.mk
27c291e2fcSPrafulla Wadaskar
28c291e2fcSPrafulla WadaskarLIB     = $(obj)lib$(BOARD).o
29c291e2fcSPrafulla Wadaskar
30c291e2fcSPrafulla WadaskarCOBJS	:= aspenite.o
31c291e2fcSPrafulla Wadaskar
32c291e2fcSPrafulla WadaskarSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
33c291e2fcSPrafulla WadaskarOBJS	:= $(addprefix $(obj),$(COBJS))
34c291e2fcSPrafulla WadaskarSOBJS	:= $(addprefix $(obj),$(SOBJS))
35c291e2fcSPrafulla Wadaskar
36c291e2fcSPrafulla Wadaskar$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
37*26ddff2dSMike Frysinger	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
38c291e2fcSPrafulla Wadaskar
39c291e2fcSPrafulla Wadaskar#########################################################################
40c291e2fcSPrafulla Wadaskar
41c291e2fcSPrafulla Wadaskar# defines $(obj).depend target
42c291e2fcSPrafulla Wadaskarinclude $(SRCTREE)/rules.mk
43c291e2fcSPrafulla Wadaskar
44c291e2fcSPrafulla Wadaskarsinclude $(obj).depend
45c291e2fcSPrafulla Wadaskar
46c291e2fcSPrafulla Wadaskar#########################################################################
47