3 # eInfochips Ltd. <www.einfochips.com>
4 # Written-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
8 # Marvell Semiconductor <www.marvell.com>
9 # Written-by: Prafulla Wadaskar <prafulla@marvell.com>
10 # Contributor: Mahavir Jain <mjain@marvell.com>
12 # SPDX-License-Identifier: GPL-2.0+
15 include $(TOPDIR)/config.mk
17 LIB = $(obj)lib$(BOARD).o
21 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
22 OBJS := $(addprefix $(obj),$(COBJS))
23 SOBJS := $(addprefix $(obj),$(SOBJS))
25 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
26 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
28 #########################################################################
30 # defines $(obj).depend target
31 include $(SRCTREE)/rules.mk
33 sinclude $(obj).depend
35 #########################################################################