blob: 859817f67057e1a5bb09324b9ba1ae59162f9251 [file] [log] [blame]
Wu, Josh9e336902013-04-16 23:42:44 +00001#
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#
Wolfgang Denk1a459662013-07-08 09:37:19 +020013# SPDX-License-Identifier: GPL-2.0+
Wu, Josh9e336902013-04-16 23:42:44 +000014#
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#########################################################################