xref: /openbmc/u-boot/board/shmin/Makefile (revision 26ddff2d)
16b7c0f5eSNobuhiro Iwamatsu#
26b7c0f5eSNobuhiro Iwamatsu# Copyright (C) 2010 Nobuhiro Iwamatsu
36b7c0f5eSNobuhiro Iwamatsu# Copyright (C) 2008 Renesas Solutions Corp.
46b7c0f5eSNobuhiro Iwamatsu#
56b7c0f5eSNobuhiro Iwamatsu# u-boot/board/shmin/Makefile
66b7c0f5eSNobuhiro Iwamatsu#
76b7c0f5eSNobuhiro Iwamatsu# This program is free software; you can redistribute it and/or
86b7c0f5eSNobuhiro Iwamatsu# modify it under the terms of the GNU General Public License as
96b7c0f5eSNobuhiro Iwamatsu# published by the Free Software Foundation; either version 2 of
106b7c0f5eSNobuhiro Iwamatsu# the License, or (at your option) any later version.
116b7c0f5eSNobuhiro Iwamatsu#
126b7c0f5eSNobuhiro Iwamatsu# This program is distributed in the hope that it will be useful,
136b7c0f5eSNobuhiro Iwamatsu# but WITHOUT ANY WARRANTY; without even the implied warranty of
146b7c0f5eSNobuhiro Iwamatsu# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
156b7c0f5eSNobuhiro Iwamatsu# GNU General Public License for more details.
166b7c0f5eSNobuhiro Iwamatsu#
176b7c0f5eSNobuhiro Iwamatsu# You should have received a copy of the GNU General Public License
186b7c0f5eSNobuhiro Iwamatsu# along with this program; if not, write to the Free Software
196b7c0f5eSNobuhiro Iwamatsu# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
206b7c0f5eSNobuhiro Iwamatsu# MA 02111-1307 USA
216b7c0f5eSNobuhiro Iwamatsu
226b7c0f5eSNobuhiro Iwamatsuinclude $(TOPDIR)/config.mk
236b7c0f5eSNobuhiro Iwamatsu
2435697092SNobuhiro IwamatsuLIB	= lib$(BOARD).o
256b7c0f5eSNobuhiro Iwamatsu
266b7c0f5eSNobuhiro IwamatsuOBJS	:= shmin.o
276b7c0f5eSNobuhiro IwamatsuSOBJS	:= lowlevel_init.o
286b7c0f5eSNobuhiro Iwamatsu
296b7c0f5eSNobuhiro IwamatsuLIB	:= $(addprefix $(obj),$(LIB))
306b7c0f5eSNobuhiro IwamatsuOBJS	:= $(addprefix $(obj),$(OBJS))
316b7c0f5eSNobuhiro IwamatsuSOBJS	:= $(addprefix $(obj),$(SOBJS))
326b7c0f5eSNobuhiro Iwamatsu
336b7c0f5eSNobuhiro Iwamatsu$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
34*26ddff2dSMike Frysinger	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
356b7c0f5eSNobuhiro Iwamatsu
366b7c0f5eSNobuhiro Iwamatsu#########################################################################
376b7c0f5eSNobuhiro Iwamatsu
386b7c0f5eSNobuhiro Iwamatsu# defines $(obj).depend target
396b7c0f5eSNobuhiro Iwamatsuinclude $(SRCTREE)/rules.mk
406b7c0f5eSNobuhiro Iwamatsu
416b7c0f5eSNobuhiro Iwamatsusinclude $(obj).depend
426b7c0f5eSNobuhiro Iwamatsu
436b7c0f5eSNobuhiro Iwamatsu#########################################################################
44