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