1# 2# (C) Copyright 2009 3# Marvell Semiconductor <www.marvell.com> 4# Written-by: Prafulla Wadaskar <prafulla@marvell.com> 5# 6# SPDX-License-Identifier: GPL-2.0+ 7# 8 9include $(TOPDIR)/config.mk 10 11LIB = $(obj)lib$(BOARD).o 12 13COBJS := iconnect.o 14 15SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 16OBJS := $(addprefix $(obj),$(COBJS)) 17SOBJS := $(addprefix $(obj),$(SOBJS)) 18 19$(LIB): $(obj).depend $(OBJS) $(SOBJS) 20 $(call cmd_link_o_target, $(OBJS) $(SOBJS)) 21 22######################################################################### 23 24# defines $(obj).depend target 25include $(SRCTREE)/rules.mk 26 27sinclude $(obj).depend 28 29######################################################################### 30