Ajay Bhargav | 2674958 | 2011-08-04 21:26:02 +0530 | [diff] [blame] | 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 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 12 | # SPDX-License-Identifier: GPL-2.0+ |
Ajay Bhargav | 2674958 | 2011-08-04 21:26:02 +0530 | [diff] [blame] | 13 | # |
| 14 | |
| 15 | include $(TOPDIR)/config.mk |
| 16 | |
| 17 | LIB = $(obj)lib$(BOARD).o |
| 18 | |
| 19 | COBJS := gplugd.o |
| 20 | |
| 21 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
| 22 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 23 | SOBJS := $(addprefix $(obj),$(SOBJS)) |
| 24 | |
| 25 | $(LIB): $(obj).depend $(OBJS) $(SOBJS) |
Mike Frysinger | 26ddff2 | 2011-10-18 05:30:17 +0000 | [diff] [blame] | 26 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) |
Ajay Bhargav | 2674958 | 2011-08-04 21:26:02 +0530 | [diff] [blame] | 27 | |
Ajay Bhargav | 2674958 | 2011-08-04 21:26:02 +0530 | [diff] [blame] | 28 | ######################################################################### |
| 29 | |
| 30 | # defines $(obj).depend target |
| 31 | include $(SRCTREE)/rules.mk |
| 32 | |
| 33 | sinclude $(obj).depend |
| 34 | |
| 35 | ######################################################################### |