]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/atmel/at91sam9x5ek/Makefile
e8f19ea0d495fb538b15c133f67e59461344ce4c
[karo-tx-uboot.git] / board / atmel / at91sam9x5ek / 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 2012
10 # Bo Shen <voice.shen@atmel.com>
11 # Atmel corporation <www.atmel.com>
12 #
13 # SPDX-License-Identifier:      GPL-2.0+
14 #
15
16 include $(TOPDIR)/config.mk
17
18 LIB     = $(obj)lib$(BOARD).o
19
20 COBJS-y += at91sam9x5ek.o
21
22 SRCS    := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
23 OBJS    := $(addprefix $(obj),$(COBJS-y))
24 SOBJS   := $(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
32 include $(SRCTREE)/rules.mk
33
34 sinclude $(obj).depend
35
36 #########################################################################