]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/d-link/dns325/Makefile
8a8ec0b5c5aec42c1d55715c536cc8dbe24691ca
[karo-tx-uboot.git] / board / d-link / dns325 / Makefile
1 #
2 # Copyright (C) 2011
3 # Stefan Herbrechtsmeier <stefan@code.herbrechtsmeier.net>
4 #
5 # Based on Kirkwood support:
6 # (C) Copyright 2009
7 # Marvell Semiconductor <www.marvell.com>
8 # Written-by: Prafulla Wadaskar <prafulla@marvell.com>
9 #
10 # SPDX-License-Identifier:      GPL-2.0+
11 #
12
13 include $(TOPDIR)/config.mk
14
15 LIB     = $(obj)lib$(BOARD).o
16
17 COBJS   := dns325.o
18
19 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
20 OBJS    := $(addprefix $(obj),$(COBJS))
21 SOBJS   := $(addprefix $(obj),$(SOBJS))
22
23 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
24         $(call cmd_link_o_target, $(OBJS) $(SOBJS))
25
26 #########################################################################
27
28 # defines $(obj).depend target
29 include $(SRCTREE)/rules.mk
30
31 sinclude $(obj).depend
32
33 #########################################################################