3 # Jason Cooper <u-boot@lakedaemon.net>
6 # Marvell Semiconductor <www.marvell.com>
7 # Written-by: Siddarth Gore <gores@marvell.com>
9 # SPDX-License-Identifier: GPL-2.0+
12 include $(TOPDIR)/config.mk
14 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))
26 rm -f $(SOBJS) $(OBJS)
29 rm -f $(LIB) core *.bak .depend
31 #########################################################################
33 # defines $(obj).depend target
34 include $(SRCTREE)/rules.mk
36 sinclude $(obj).depend
38 #########################################################################