]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/davinci/sffsdr/Makefile
870314a168227b61948fab3442d133111ab49f2a
[karo-tx-uboot.git] / board / davinci / sffsdr / Makefile
1 #
2 # (C) Copyright 2000, 2001, 2002
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
6 #
7 # SPDX-License-Identifier:      GPL-2.0+
8 #
9
10 include $(TOPDIR)/config.mk
11
12 LIB     = $(obj)lib$(BOARD).o
13
14 COBJS   := $(BOARD).o
15 SOBJS   := board_init.o
16
17 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
18 OBJS    := $(addprefix $(obj),$(COBJS))
19 SOBJS   := $(addprefix $(obj),$(SOBJS))
20
21 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
22         $(call cmd_link_o_target, $(OBJS) $(SOBJS))
23
24 #########################################################################
25 # This is for $(obj).depend target
26 include $(SRCTREE)/rules.mk
27
28 sinclude $(obj).depend
29
30 #########################################################################