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