xref: /openbmc/u-boot/board/mpr2/Makefile (revision 6d8962e8)
13313e0e2SMark Jonas#
23313e0e2SMark Jonas# Copyright (C) 2007
33313e0e2SMark Jonas# Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
43313e0e2SMark Jonas#
53313e0e2SMark Jonas# Copyright (C) 2007
63313e0e2SMark Jonas# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73313e0e2SMark Jonas#
83313e0e2SMark Jonas# Copyright (C) 2007
93313e0e2SMark Jonas# Kenati Technologies, Inc.
103313e0e2SMark Jonas#
113313e0e2SMark Jonas# (C) Copyright 2008
123313e0e2SMark Jonas# Mark Jonas <mark.jonas@de.bosch.com>
133313e0e2SMark Jonas#
143313e0e2SMark Jonas# board/mpr2/Makefile
153313e0e2SMark Jonas#
163313e0e2SMark Jonas# This program is free software; you can redistribute it and/or
173313e0e2SMark Jonas# modify it under the terms of the GNU General Public License as
183313e0e2SMark Jonas# published by the Free Software Foundation; either version 2 of
193313e0e2SMark Jonas# the License, or (at your option) any later version.
203313e0e2SMark Jonas#
213313e0e2SMark Jonas# This program is distributed in the hope that it will be useful,
223313e0e2SMark Jonas# but WITHOUT ANY WARRANTY; without even the implied warranty of
233313e0e2SMark Jonas# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
243313e0e2SMark Jonas# GNU General Public License for more details.
253313e0e2SMark Jonas#
263313e0e2SMark Jonas# You should have received a copy of the GNU General Public License
273313e0e2SMark Jonas# along with this program; if not, write to the Free Software
283313e0e2SMark Jonas# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
293313e0e2SMark Jonas# MA 02111-1307 USA
303313e0e2SMark Jonas
313313e0e2SMark Jonasinclude $(TOPDIR)/config.mk
323313e0e2SMark Jonas
33*6d8962e8SSebastien CarlierLIB	= $(obj)lib$(BOARD).o
343313e0e2SMark Jonas
359e23fe05SNobuhiro IwamatsuCOBJS	:= mpr2.o
363313e0e2SMark JonasSOBJS	:= lowlevel_init.o
373313e0e2SMark Jonas
38a30cc5a3SWolfgang DenkSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
39a30cc5a3SWolfgang DenkOBJS	:= $(addprefix $(obj),$(COBJS))
40a30cc5a3SWolfgang DenkSOBJS	:= $(addprefix $(obj),$(SOBJS))
41a30cc5a3SWolfgang Denk
423313e0e2SMark Jonas$(LIB):	$(OBJS) $(SOBJS)
43*6d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
443313e0e2SMark Jonas
453313e0e2SMark Jonasclean:
463313e0e2SMark Jonas	rm -f $(SOBJS) $(OBJS)
473313e0e2SMark Jonas
483313e0e2SMark Jonasdistclean:	clean
49c8a3b109SWolfgang Denk	rm -f $(LIB) core *.bak $(obj).depend
503313e0e2SMark Jonas
513313e0e2SMark Jonas#########################################################################
523313e0e2SMark Jonas
53a30cc5a3SWolfgang Denk# defines $(obj).depend target
54a30cc5a3SWolfgang Denkinclude $(SRCTREE)/rules.mk
553313e0e2SMark Jonas
56a30cc5a3SWolfgang Denksinclude $(obj).depend
573313e0e2SMark Jonas
583313e0e2SMark Jonas#########################################################################
59