1f7fa2f37SBo Shen#
2f7fa2f37SBo Shen# (C) Copyright 2003-2008
3f7fa2f37SBo Shen# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4f7fa2f37SBo Shen#
5f7fa2f37SBo Shen# (C) Copyright 2008
6f7fa2f37SBo Shen# Stelian Pop <stelian@popies.net>
7f7fa2f37SBo Shen# Lead Tech Design <www.leadtechdesign.com>
8f7fa2f37SBo Shen#
9f7fa2f37SBo Shen# (C) Copyright 2012
10f7fa2f37SBo Shen# Bo Shen <voice.shen@atmel.com>
11f7fa2f37SBo Shen# Atmel corporation <www.atmel.com>
12f7fa2f37SBo Shen#
13*1a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
14f7fa2f37SBo Shen#
15f7fa2f37SBo Shen
16f7fa2f37SBo Sheninclude $(TOPDIR)/config.mk
17f7fa2f37SBo Shen
18f7fa2f37SBo ShenLIB	= $(obj)lib$(BOARD).o
19f7fa2f37SBo Shen
20f7fa2f37SBo ShenCOBJS-y += at91sam9x5ek.o
21f7fa2f37SBo Shen
22f7fa2f37SBo ShenSRCS	:= $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
23f7fa2f37SBo ShenOBJS	:= $(addprefix $(obj),$(COBJS-y))
24f7fa2f37SBo ShenSOBJS	:= $(addprefix $(obj),$(SOBJS))
25f7fa2f37SBo Shen
26f7fa2f37SBo Shen$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
27f7fa2f37SBo Shen	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
28f7fa2f37SBo Shen
29f7fa2f37SBo Shen#########################################################################
30f7fa2f37SBo Shen
31f7fa2f37SBo Shen# defines $(obj).depend target
32f7fa2f37SBo Sheninclude $(SRCTREE)/rules.mk
33f7fa2f37SBo Shen
34f7fa2f37SBo Shensinclude $(obj).depend
35f7fa2f37SBo Shen
36f7fa2f37SBo Shen#########################################################################
37