1*ea0364f1SPeter Tyser# 2*ea0364f1SPeter Tyser# (C) Copyright 2003-2006 3*ea0364f1SPeter Tyser# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4*ea0364f1SPeter Tyser# 5*ea0364f1SPeter Tyser# See file CREDITS for list of people who contributed to this 6*ea0364f1SPeter Tyser# project. 7*ea0364f1SPeter Tyser# 8*ea0364f1SPeter Tyser# This program is free software; you can redistribute it and/or 9*ea0364f1SPeter Tyser# modify it under the terms of the GNU General Public License as 10*ea0364f1SPeter Tyser# published by the Free Software Foundation; either version 2 of 11*ea0364f1SPeter Tyser# the License, or (at your option) any later version. 12*ea0364f1SPeter Tyser# 13*ea0364f1SPeter Tyser# This program is distributed in the hope that it will be useful, 14*ea0364f1SPeter Tyser# but WITHOUT ANY WARRANTY; without even the implied warranty of 15*ea0364f1SPeter Tyser# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16*ea0364f1SPeter Tyser# GNU General Public License for more details. 17*ea0364f1SPeter Tyser# 18*ea0364f1SPeter Tyser# You should have received a copy of the GNU General Public License 19*ea0364f1SPeter Tyser# along with this program; if not, write to the Free Software 20*ea0364f1SPeter Tyser# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 21*ea0364f1SPeter Tyser# MA 02111-1307 USA 22*ea0364f1SPeter Tyser# 23*ea0364f1SPeter Tyser 24*ea0364f1SPeter Tyserinclude $(TOPDIR)/config.mk 25*ea0364f1SPeter Tyser 26*ea0364f1SPeter TyserLIB = $(obj)lib$(ARCH).a 27*ea0364f1SPeter Tyser 28*ea0364f1SPeter TyserSOBJS-y += 29*ea0364f1SPeter Tyser 30*ea0364f1SPeter TyserCOBJS-y += board.o 31*ea0364f1SPeter Tyserifeq ($(CONFIG_QEMU_MIPS),y) 32*ea0364f1SPeter TyserCOBJS-y += bootm_qemu_mips.o 33*ea0364f1SPeter Tyserelse 34*ea0364f1SPeter TyserCOBJS-y += bootm.o 35*ea0364f1SPeter Tyserendif 36*ea0364f1SPeter TyserCOBJS-y += time.o 37*ea0364f1SPeter Tyser 38*ea0364f1SPeter TyserSRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) 39*ea0364f1SPeter TyserOBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) 40*ea0364f1SPeter Tyser 41*ea0364f1SPeter Tyser$(LIB): $(obj).depend $(OBJS) 42*ea0364f1SPeter Tyser $(AR) $(ARFLAGS) $@ $(OBJS) 43*ea0364f1SPeter Tyser 44*ea0364f1SPeter Tyser######################################################################### 45*ea0364f1SPeter Tyser 46*ea0364f1SPeter Tyser# defines $(obj).depend target 47*ea0364f1SPeter Tyserinclude $(SRCTREE)/rules.mk 48*ea0364f1SPeter Tyser 49*ea0364f1SPeter Tysersinclude $(obj).depend 50*ea0364f1SPeter Tyser 51*ea0364f1SPeter Tyser######################################################################### 52