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