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