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