2 # (C) Copyright 2000, 2001, 2002
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
7 # SPDX-License-Identifier: GPL-2.0+
10 include $(TOPDIR)/config.mk
12 LIB = $(obj)lib$(BOARD).o
18 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
19 OBJS := $(addprefix $(obj),$(COBJS))
20 SOBJS := $(addprefix $(obj),$(SOBJS))
22 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
23 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
25 #########################################################################
26 # This is for $(obj).depend target
27 include $(SRCTREE)/rules.mk
29 sinclude $(obj).depend
31 #########################################################################