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