1#
2# (C) Copyright 2003-2008
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2008
6# Stelian Pop <stelian.pop@leadtechdesign.com>
7# Lead Tech Design <www.leadtechdesign.com>
8#
9# (C) Copyright 2013
10# Josh Wu <josh.wu@atmel.com>
11# Atmel corporation <www.atmel.com>
12#
13# SPDX-License-Identifier:	GPL-2.0+
14#
15
16include $(TOPDIR)/config.mk
17
18LIB	= $(obj)lib$(BOARD).o
19
20COBJS-y	+= at91sam9n12ek.o
21
22SRCS	:= $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
23OBJS	:= $(addprefix $(obj),$(COBJS-y))
24SOBJS	:= $(addprefix $(obj),$(SOBJS))
25
26$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
27	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
28
29#########################################################################
30
31# defines $(obj).depend target
32include $(SRCTREE)/rules.mk
33
34sinclude $(obj).depend
35
36#########################################################################
37