3 # Marvell Semiconductor <www.marvell.com>
4 # Written-by: Prafulla Wadaskar <prafulla@marvell.com>
6 # SPDX-License-Identifier: GPL-2.0+
9 include $(TOPDIR)/config.mk
11 LIB = $(obj)lib$(BOARD).o
15 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16 OBJS := $(addprefix $(obj),$(COBJS))
17 SOBJS := $(addprefix $(obj),$(SOBJS))
19 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
20 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
22 #########################################################################
24 # defines $(obj).depend target
25 include $(SRCTREE)/rules.mk
27 sinclude $(obj).depend
29 #########################################################################