blob: 384ca3f7918f8983473f2d886982bd6763cb9fa2 [file] [log] [blame]
Bo Shen60f3dd32013-05-12 22:40:54 +00001#
2# (C) Copyright 2003-2008
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2008
6# Stelian Pop <stelian@popies.net>
7# Lead Tech Design <www.leadtechdesign.com>
8#
9# (C) Copyright 2013
10# Bo Shen <voice.shen@atmel.com>
11#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +020012# SPDX-License-Identifier: GPL-2.0+
Bo Shen60f3dd32013-05-12 22:40:54 +000013#
14
15include $(TOPDIR)/config.mk
16
17LIB = $(obj)lib$(BOARD).o
18
19COBJS-y += sama5d3xek.o
20
21SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
22OBJS := $(addprefix $(obj),$(COBJS-y))
23SOBJS := $(addprefix $(obj),$(SOBJS))
24
25$(LIB): $(obj).depend $(OBJS) $(SOBJS)
26 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
27
28#########################################################################
29
30# defines $(obj).depend target
31include $(SRCTREE)/rules.mk
32
33sinclude $(obj).depend
34
35#########################################################################