12118ebb4SStelian Pop#
22118ebb4SStelian Pop# (C) Copyright 2003-2008
32118ebb4SStelian Pop# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
42118ebb4SStelian Pop#
52118ebb4SStelian Pop# (C) Copyright 2008
6c9e798d3SStelian Pop# Stelian Pop <stelian@popies.net>
72118ebb4SStelian Pop# Lead Tech Design <www.leadtechdesign.com>
82118ebb4SStelian Pop#
92118ebb4SStelian Pop# See file CREDITS for list of people who contributed to this
102118ebb4SStelian Pop# project.
112118ebb4SStelian Pop#
122118ebb4SStelian Pop# This program is free software; you can redistribute it and/or
132118ebb4SStelian Pop# modify it under the terms of the GNU General Public License as
142118ebb4SStelian Pop# published by the Free Software Foundation; either version 2 of
152118ebb4SStelian Pop# the License, or (at your option) any later version.
162118ebb4SStelian Pop#
172118ebb4SStelian Pop# This program is distributed in the hope that it will be useful,
182118ebb4SStelian Pop# but WITHOUT ANY WARRANTY; without even the implied warranty of
192118ebb4SStelian Pop# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
202118ebb4SStelian Pop# GNU General Public License for more details.
212118ebb4SStelian Pop#
222118ebb4SStelian Pop# You should have received a copy of the GNU General Public License
232118ebb4SStelian Pop# along with this program; if not, write to the Free Software
242118ebb4SStelian Pop# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
252118ebb4SStelian Pop# MA 02111-1307 USA
262118ebb4SStelian Pop#
272118ebb4SStelian Pop
282118ebb4SStelian Popinclude $(TOPDIR)/config.mk
292118ebb4SStelian Pop
30*6d8962e8SSebastien CarlierLIB	= $(obj)lib$(BOARD).o
312118ebb4SStelian Pop
322118ebb4SStelian PopCOBJS-y += at91sam9rlek.o
332118ebb4SStelian PopCOBJS-y += led.o
3416396608SJean-Christophe PLAGNIOL-VILLARDCOBJS-$(CONFIG_HAS_DATAFLASH) += partition.o
352118ebb4SStelian Pop
362118ebb4SStelian PopSRCS	:= $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
372118ebb4SStelian PopOBJS	:= $(addprefix $(obj),$(COBJS-y))
382118ebb4SStelian PopSOBJS	:= $(addprefix $(obj),$(SOBJS))
392118ebb4SStelian Pop
402118ebb4SStelian Pop$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
41*6d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
422118ebb4SStelian Pop
432118ebb4SStelian Pop#########################################################################
442118ebb4SStelian Pop
452118ebb4SStelian Pop# defines $(obj).depend target
462118ebb4SStelian Popinclude $(SRCTREE)/rules.mk
472118ebb4SStelian Pop
482118ebb4SStelian Popsinclude $(obj).depend
492118ebb4SStelian Pop
502118ebb4SStelian Pop#########################################################################
51