1*9e336903SWu, Josh# 2*9e336903SWu, Josh# (C) Copyright 2003-2008 3*9e336903SWu, Josh# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4*9e336903SWu, Josh# 5*9e336903SWu, Josh# (C) Copyright 2008 6*9e336903SWu, Josh# Stelian Pop <stelian.pop@leadtechdesign.com> 7*9e336903SWu, Josh# Lead Tech Design <www.leadtechdesign.com> 8*9e336903SWu, Josh# 9*9e336903SWu, Josh# (C) Copyright 2013 10*9e336903SWu, Josh# Josh Wu <josh.wu@atmel.com> 11*9e336903SWu, Josh# Atmel corporation <www.atmel.com> 12*9e336903SWu, Josh# 13*9e336903SWu, Josh# See file CREDITS for list of people who contributed to this 14*9e336903SWu, Josh# project. 15*9e336903SWu, Josh# 16*9e336903SWu, Josh# This program is free software; you can redistribute it and/or 17*9e336903SWu, Josh# modify it under the terms of the GNU General Public License as 18*9e336903SWu, Josh# published by the Free Software Foundation; either version 2 of 19*9e336903SWu, Josh# the License, or (at your option) any later version. 20*9e336903SWu, Josh# 21*9e336903SWu, Josh# This program is distributed in the hope that it will be useful, 22*9e336903SWu, Josh# but WITHOUT ANY WARRANTY; without even the implied warranty of 23*9e336903SWu, Josh# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 24*9e336903SWu, Josh# GNU General Public License for more details. 25*9e336903SWu, Josh# 26*9e336903SWu, Josh# You should have received a copy of the GNU General Public License 27*9e336903SWu, Josh# along with this program; if not, write to the Free Software 28*9e336903SWu, Josh# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 29*9e336903SWu, Josh# MA 02111-1307 USA 30*9e336903SWu, Josh# 31*9e336903SWu, Josh 32*9e336903SWu, Joshinclude $(TOPDIR)/config.mk 33*9e336903SWu, Josh 34*9e336903SWu, JoshLIB = $(obj)lib$(BOARD).o 35*9e336903SWu, Josh 36*9e336903SWu, JoshCOBJS-y += at91sam9n12ek.o 37*9e336903SWu, Josh 38*9e336903SWu, JoshSRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) 39*9e336903SWu, JoshOBJS := $(addprefix $(obj),$(COBJS-y)) 40*9e336903SWu, JoshSOBJS := $(addprefix $(obj),$(SOBJS)) 41*9e336903SWu, Josh 42*9e336903SWu, Josh$(LIB): $(obj).depend $(OBJS) $(SOBJS) 43*9e336903SWu, Josh $(call cmd_link_o_target, $(OBJS) $(SOBJS)) 44*9e336903SWu, Josh 45*9e336903SWu, Josh######################################################################### 46*9e336903SWu, Josh 47*9e336903SWu, Josh# defines $(obj).depend target 48*9e336903SWu, Joshinclude $(SRCTREE)/rules.mk 49*9e336903SWu, Josh 50*9e336903SWu, Joshsinclude $(obj).depend 51*9e336903SWu, Josh 52*9e336903SWu, Josh######################################################################### 53