xref: /openbmc/u-boot/board/ms7750se/Makefile (revision a30cc5a3)
169df3c4dSNobuhiro Iwamatsu#
269df3c4dSNobuhiro Iwamatsu# Copyright (C) 2007
369df3c4dSNobuhiro Iwamatsu# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
469df3c4dSNobuhiro Iwamatsu#
569df3c4dSNobuhiro Iwamatsu# This program is free software; you can redistribute it and/or
669df3c4dSNobuhiro Iwamatsu# modify it under the terms of the GNU General Public License as
769df3c4dSNobuhiro Iwamatsu# published by the Free Software Foundation; either version 2 of
869df3c4dSNobuhiro Iwamatsu# the License, or (at your option) any later version.
969df3c4dSNobuhiro Iwamatsu#
1069df3c4dSNobuhiro Iwamatsu# This program is distributed in the hope that it will be useful,
1169df3c4dSNobuhiro Iwamatsu# but WITHOUT ANY WARRANTY; without even the implied warranty of
1269df3c4dSNobuhiro Iwamatsu# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1369df3c4dSNobuhiro Iwamatsu# GNU General Public License for more details.
1469df3c4dSNobuhiro Iwamatsu#
1569df3c4dSNobuhiro Iwamatsu# You should have received a copy of the GNU General Public License
1669df3c4dSNobuhiro Iwamatsu# along with this program; if not, write to the Free Software
1769df3c4dSNobuhiro Iwamatsu# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
1869df3c4dSNobuhiro Iwamatsu# MA 02111-1307 USA
1969df3c4dSNobuhiro Iwamatsu#
2069df3c4dSNobuhiro Iwamatsuinclude $(TOPDIR)/config.mk
2169df3c4dSNobuhiro Iwamatsu
22*a30cc5a3SWolfgang DenkLIB	= $(obj)lib$(BOARD).a
2369df3c4dSNobuhiro Iwamatsu
2469df3c4dSNobuhiro IwamatsuOBJS	:= ms7750se.o
2569df3c4dSNobuhiro IwamatsuSOBJS	:= lowlevel_init.o
2669df3c4dSNobuhiro Iwamatsu
27*a30cc5a3SWolfgang DenkSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
28*a30cc5a3SWolfgang DenkOBJS	:= $(addprefix $(obj),$(COBJS))
29*a30cc5a3SWolfgang DenkSOBJS	:= $(addprefix $(obj),$(SOBJS))
30*a30cc5a3SWolfgang Denk
3169df3c4dSNobuhiro Iwamatsu$(LIB):	$(OBJS) $(SOBJS)
32461fa68dSWolfgang Denk	$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
3369df3c4dSNobuhiro Iwamatsu
3469df3c4dSNobuhiro Iwamatsuclean:
3569df3c4dSNobuhiro Iwamatsu	rm -f $(SOBJS) $(OBJS)
3669df3c4dSNobuhiro Iwamatsu
3769df3c4dSNobuhiro Iwamatsudistclean:	clean
3869df3c4dSNobuhiro Iwamatsu	rm -f $(LIB) core *.bak .depend
3969df3c4dSNobuhiro Iwamatsu
40*a30cc5a3SWolfgang Denk#########################################################################
4169df3c4dSNobuhiro Iwamatsu
42*a30cc5a3SWolfgang Denk# defines $(obj).depend target
43*a30cc5a3SWolfgang Denkinclude $(SRCTREE)/rules.mk
4469df3c4dSNobuhiro Iwamatsu
45*a30cc5a3SWolfgang Denksinclude $(obj).depend
4669df3c4dSNobuhiro Iwamatsu
47*a30cc5a3SWolfgang Denk#########################################################################
48