Prafulla Wadaskar | f22f8d6 | 2010-11-29 17:01:27 +0530 | [diff] [blame] | 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 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | # SPDX-License-Identifier: GPL-2.0+ |
Prafulla Wadaskar | f22f8d6 | 2010-11-29 17:01:27 +0530 | [diff] [blame] | 8 | # |
| 9 | |
| 10 | include $(TOPDIR)/config.mk |
| 11 | |
| 12 | LIB = $(obj)lib$(BOARD).o |
| 13 | |
| 14 | COBJS := aspenite.o |
| 15 | |
| 16 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
| 17 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 18 | SOBJS := $(addprefix $(obj),$(SOBJS)) |
| 19 | |
| 20 | $(LIB): $(obj).depend $(OBJS) $(SOBJS) |
Mike Frysinger | 57e0deb | 2011-10-18 05:30:17 +0000 | [diff] [blame] | 21 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) |
Prafulla Wadaskar | f22f8d6 | 2010-11-29 17:01:27 +0530 | [diff] [blame] | 22 | |
Prafulla Wadaskar | f22f8d6 | 2010-11-29 17:01:27 +0530 | [diff] [blame] | 23 | ######################################################################### |
| 24 | |
| 25 | # defines $(obj).depend target |
| 26 | include $(SRCTREE)/rules.mk |
| 27 | |
| 28 | sinclude $(obj).depend |
| 29 | |
| 30 | ######################################################################### |