xref: /openbmc/u-boot/board/ms7720se/Makefile (revision c8a3b109)
1b2b5e2bbSYoshihiro Shimoda#
2b2b5e2bbSYoshihiro Shimoda# Copyright (C) 2007
3b2b5e2bbSYoshihiro Shimoda# Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
4b2b5e2bbSYoshihiro Shimoda#
5b2b5e2bbSYoshihiro Shimoda# Copyright (C) 2007
6b2b5e2bbSYoshihiro Shimoda# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7b2b5e2bbSYoshihiro Shimoda#
8b2b5e2bbSYoshihiro Shimoda# Copyright (C) 2007
9b2b5e2bbSYoshihiro Shimoda# Kenati Technologies, Inc.
10b2b5e2bbSYoshihiro Shimoda#
11b2b5e2bbSYoshihiro Shimoda# board/ms7720se/Makefile
12b2b5e2bbSYoshihiro Shimoda#
13b2b5e2bbSYoshihiro Shimoda# This program is free software; you can redistribute it and/or
14b2b5e2bbSYoshihiro Shimoda# modify it under the terms of the GNU General Public License as
15b2b5e2bbSYoshihiro Shimoda# published by the Free Software Foundation; either version 2 of
16b2b5e2bbSYoshihiro Shimoda# the License, or (at your option) any later version.
17b2b5e2bbSYoshihiro Shimoda#
18b2b5e2bbSYoshihiro Shimoda# This program is distributed in the hope that it will be useful,
19b2b5e2bbSYoshihiro Shimoda# but WITHOUT ANY WARRANTY; without even the implied warranty of
20b2b5e2bbSYoshihiro Shimoda# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21b2b5e2bbSYoshihiro Shimoda# GNU General Public License for more details.
22b2b5e2bbSYoshihiro Shimoda#
23b2b5e2bbSYoshihiro Shimoda# You should have received a copy of the GNU General Public License
24b2b5e2bbSYoshihiro Shimoda# along with this program; if not, write to the Free Software
25b2b5e2bbSYoshihiro Shimoda# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
26b2b5e2bbSYoshihiro Shimoda# MA 02111-1307 USA
27b2b5e2bbSYoshihiro Shimoda
28b2b5e2bbSYoshihiro Shimodainclude $(TOPDIR)/config.mk
29b2b5e2bbSYoshihiro Shimoda
30a30cc5a3SWolfgang DenkLIB	= $(obj)lib$(BOARD).a
31b2b5e2bbSYoshihiro Shimoda
32b2b5e2bbSYoshihiro ShimodaOBJS	:= ms7720se.o
33b2b5e2bbSYoshihiro ShimodaSOBJS	:= lowlevel_init.o
34b2b5e2bbSYoshihiro Shimoda
35a30cc5a3SWolfgang DenkSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
36a30cc5a3SWolfgang DenkOBJS	:= $(addprefix $(obj),$(COBJS))
37a30cc5a3SWolfgang DenkSOBJS	:= $(addprefix $(obj),$(SOBJS))
38a30cc5a3SWolfgang Denk
39b2b5e2bbSYoshihiro Shimoda$(LIB):	$(OBJS) $(SOBJS)
40461fa68dSWolfgang Denk	$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
41b2b5e2bbSYoshihiro Shimoda
42b2b5e2bbSYoshihiro Shimodaclean:
43b2b5e2bbSYoshihiro Shimoda	rm -f $(SOBJS) $(OBJS)
44b2b5e2bbSYoshihiro Shimoda
45b2b5e2bbSYoshihiro Shimodadistclean:	clean
46*c8a3b109SWolfgang Denk	rm -f $(LIB) core *.bak $(obj).depend
47b2b5e2bbSYoshihiro Shimoda
48b2b5e2bbSYoshihiro Shimoda#########################################################################
49b2b5e2bbSYoshihiro Shimoda
50a30cc5a3SWolfgang Denk# defines $(obj).depend target
51a30cc5a3SWolfgang Denkinclude $(SRCTREE)/rules.mk
52b2b5e2bbSYoshihiro Shimoda
53a30cc5a3SWolfgang Denksinclude $(obj).depend
54b2b5e2bbSYoshihiro Shimoda
55b2b5e2bbSYoshihiro Shimoda#########################################################################
56