xref: /openbmc/u-boot/board/renesas/ap325rxa/Makefile (revision f84e6ea2)
1*f84e6ea2SNobuhiro Iwamatsu#########################################################################
2*f84e6ea2SNobuhiro Iwamatsu#
3*f84e6ea2SNobuhiro Iwamatsu# Copyright (C) 2008 Renesas Solutions Corp.
4*f84e6ea2SNobuhiro Iwamatsu# Copyright (C) 2008 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
5*f84e6ea2SNobuhiro Iwamatsu#
6*f84e6ea2SNobuhiro Iwamatsu# board/ap325rxa/Makefile
7*f84e6ea2SNobuhiro Iwamatsu#
8*f84e6ea2SNobuhiro Iwamatsu# This program is free software; you can redistribute it and/or
9*f84e6ea2SNobuhiro Iwamatsu# modify it under the terms of the GNU General Public License as
10*f84e6ea2SNobuhiro Iwamatsu# published by the Free Software Foundation; either version 2 of
11*f84e6ea2SNobuhiro Iwamatsu# the License, or (at your option) any later version.
12*f84e6ea2SNobuhiro Iwamatsu#
13*f84e6ea2SNobuhiro Iwamatsu# This program is distributed in the hope that it will be useful,
14*f84e6ea2SNobuhiro Iwamatsu# but WITHOUT ANY WARRANTY; without even the implied warranty of
15*f84e6ea2SNobuhiro Iwamatsu# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16*f84e6ea2SNobuhiro Iwamatsu# GNU General Public License for more details.
17*f84e6ea2SNobuhiro Iwamatsu#
18*f84e6ea2SNobuhiro Iwamatsu# You should have received a copy of the GNU General Public License
19*f84e6ea2SNobuhiro Iwamatsu# along with this program; if not, write to the Free Software
20*f84e6ea2SNobuhiro Iwamatsu# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21*f84e6ea2SNobuhiro Iwamatsu# MA 02111-1307 USA
22*f84e6ea2SNobuhiro Iwamatsu#
23*f84e6ea2SNobuhiro Iwamatsu
24*f84e6ea2SNobuhiro Iwamatsuinclude $(TOPDIR)/config.mk
25*f84e6ea2SNobuhiro Iwamatsu
26*f84e6ea2SNobuhiro IwamatsuLIB	= $(obj)lib$(BOARD).a
27*f84e6ea2SNobuhiro Iwamatsu
28*f84e6ea2SNobuhiro IwamatsuCOBJS	:= ap325rxa.o cpld-ap325rxa.o
29*f84e6ea2SNobuhiro IwamatsuSOBJS	:= lowlevel_init.o
30*f84e6ea2SNobuhiro Iwamatsu
31*f84e6ea2SNobuhiro IwamatsuSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
32*f84e6ea2SNobuhiro IwamatsuOBJS	:= $(addprefix $(obj),$(COBJS))
33*f84e6ea2SNobuhiro IwamatsuSOBJS	:= $(addprefix $(obj),$(SOBJS))
34*f84e6ea2SNobuhiro Iwamatsu
35*f84e6ea2SNobuhiro Iwamatsu$(LIB):	$(OBJS) $(SOBJS)
36*f84e6ea2SNobuhiro Iwamatsu	$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
37*f84e6ea2SNobuhiro Iwamatsu
38*f84e6ea2SNobuhiro Iwamatsuclean:
39*f84e6ea2SNobuhiro Iwamatsu	rm -f $(SOBJS) $(OBJS)
40*f84e6ea2SNobuhiro Iwamatsu
41*f84e6ea2SNobuhiro Iwamatsudistclean:	clean
42*f84e6ea2SNobuhiro Iwamatsu	rm -f $(LIB) core *.bak $(obj).depend
43*f84e6ea2SNobuhiro Iwamatsu
44*f84e6ea2SNobuhiro Iwamatsu#########################################################################
45*f84e6ea2SNobuhiro Iwamatsu
46*f84e6ea2SNobuhiro Iwamatsu# defines $(obj).depend target
47*f84e6ea2SNobuhiro Iwamatsuinclude $(SRCTREE)/rules.mk
48*f84e6ea2SNobuhiro Iwamatsu
49*f84e6ea2SNobuhiro Iwamatsusinclude $(obj).depend
50*f84e6ea2SNobuhiro Iwamatsu
51*f84e6ea2SNobuhiro Iwamatsu#########################################################################
52