blob: 139f316ce585899ef0b4e664851c0a6a6634cee9 [file] [log] [blame]
Ajay Bhargav26749582011-08-04 21:26:02 +05301#
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#
Wolfgang Denk1a459662013-07-08 09:37:19 +020012# SPDX-License-Identifier: GPL-2.0+
Ajay Bhargav26749582011-08-04 21:26:02 +053013#
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)
Mike Frysinger26ddff22011-10-18 05:30:17 +000026 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Ajay Bhargav26749582011-08-04 21:26:02 +053027
Ajay Bhargav26749582011-08-04 21:26:02 +053028#########################################################################
29
30# defines $(obj).depend target
31include $(SRCTREE)/rules.mk
32
33sinclude $(obj).depend
34
35#########################################################################