xref: /openbmc/u-boot/board/ms7720se/Makefile (revision 461fa68d)
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
30b2b5e2bbSYoshihiro ShimodaLIB	= lib$(BOARD).a
31b2b5e2bbSYoshihiro Shimoda
32b2b5e2bbSYoshihiro ShimodaOBJS	:= ms7720se.o
33b2b5e2bbSYoshihiro ShimodaSOBJS	:= lowlevel_init.o
34b2b5e2bbSYoshihiro Shimoda
35b2b5e2bbSYoshihiro Shimoda$(LIB):	$(OBJS) $(SOBJS)
36*461fa68dSWolfgang Denk	$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
37b2b5e2bbSYoshihiro Shimoda
38b2b5e2bbSYoshihiro Shimodaclean:
39b2b5e2bbSYoshihiro Shimoda	rm -f $(SOBJS) $(OBJS)
40b2b5e2bbSYoshihiro Shimoda
41b2b5e2bbSYoshihiro Shimodadistclean:	clean
42b2b5e2bbSYoshihiro Shimoda	rm -f $(LIB) core *.bak .depend
43b2b5e2bbSYoshihiro Shimoda
44b2b5e2bbSYoshihiro Shimoda#########################################################################
45b2b5e2bbSYoshihiro Shimoda
46b2b5e2bbSYoshihiro Shimoda.depend:	Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
47b2b5e2bbSYoshihiro Shimoda		$(CC) -M $(CPPFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@
48b2b5e2bbSYoshihiro Shimoda
49b2b5e2bbSYoshihiro Shimoda-include .depend
50b2b5e2bbSYoshihiro Shimoda
51b2b5e2bbSYoshihiro Shimoda#########################################################################
52