]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/atmel/sama5d3xek/Makefile
384ca3f7918f8983473f2d886982bd6763cb9fa2
[karo-tx-uboot.git] / board / atmel / sama5d3xek / Makefile
1 #
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 #
12 # SPDX-License-Identifier:      GPL-2.0+
13 #
14
15 include $(TOPDIR)/config.mk
16
17 LIB     = $(obj)lib$(BOARD).o
18
19 COBJS-y += sama5d3xek.o
20
21 SRCS    := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
22 OBJS    := $(addprefix $(obj),$(COBJS-y))
23 SOBJS   := $(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
31 include $(SRCTREE)/rules.mk
32
33 sinclude $(obj).depend
34
35 #########################################################################