10176d43eSStelian Pop# 20176d43eSStelian Pop# (C) Copyright 2003-2008 3*567fb852SStelian Pop# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 40176d43eSStelian Pop# 50176d43eSStelian Pop# See file CREDITS for list of people who contributed to this 60176d43eSStelian Pop# project. 70176d43eSStelian Pop# 80176d43eSStelian Pop# This program is free software; you can redistribute it and/or 90176d43eSStelian Pop# modify it under the terms of the GNU General Public License as 100176d43eSStelian Pop# published by the Free Software Foundation; either version 2 of 110176d43eSStelian Pop# the License, or (at your option) any later version. 120176d43eSStelian Pop# 130176d43eSStelian Pop# This program is distributed in the hope that it will be useful, 140176d43eSStelian Pop# but WITHOUT ANY WARRANTY; without even the implied warranty of 150176d43eSStelian Pop# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 160176d43eSStelian Pop# GNU General Public License for more details. 170176d43eSStelian Pop# 180176d43eSStelian Pop# You should have received a copy of the GNU General Public License 190176d43eSStelian Pop# along with this program; if not, write to the Free Software 200176d43eSStelian Pop# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 210176d43eSStelian Pop# MA 02111-1307 USA 220176d43eSStelian Pop# 230176d43eSStelian Pop 240176d43eSStelian Popinclude $(TOPDIR)/config.mk 250176d43eSStelian Pop 260176d43eSStelian PopLIB = $(obj)lib$(BOARD).a 270176d43eSStelian Pop 284e03dde8SJean-Christophe PLAGNIOL-VILLARDCOBJS-y += at91sam9260ek.o 294e03dde8SJean-Christophe PLAGNIOL-VILLARDCOBJS-y += led.o 30c3a60cb3SUlf SamuelssonCOBJS-y += partition.o 314e03dde8SJean-Christophe PLAGNIOL-VILLARDCOBJS-$(CONFIG_CMD_NAND) += nand.o 320176d43eSStelian Pop 334e03dde8SJean-Christophe PLAGNIOL-VILLARDSRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) 344e03dde8SJean-Christophe PLAGNIOL-VILLARDOBJS := $(addprefix $(obj),$(COBJS-y)) 350176d43eSStelian PopSOBJS := $(addprefix $(obj),$(SOBJS)) 360176d43eSStelian Pop 370176d43eSStelian Pop$(LIB): $(obj).depend $(OBJS) $(SOBJS) 380176d43eSStelian Pop $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) 390176d43eSStelian Pop 400176d43eSStelian Popclean: 410176d43eSStelian Pop rm -f $(SOBJS) $(OBJS) 420176d43eSStelian Pop 430176d43eSStelian Popdistclean: clean 440176d43eSStelian Pop rm -f $(LIB) core *.bak .depend 450176d43eSStelian Pop 460176d43eSStelian Pop######################################################################### 470176d43eSStelian Pop 480176d43eSStelian Pop# defines $(obj).depend target 490176d43eSStelian Popinclude $(SRCTREE)/rules.mk 500176d43eSStelian Pop 510176d43eSStelian Popsinclude $(obj).depend 520176d43eSStelian Pop 530176d43eSStelian Pop######################################################################### 54