xref: /openbmc/u-boot/board/Marvell/guruplug/Makefile (revision 1a459660)
116b76705SSiddarth Gore#
216b76705SSiddarth Gore# (C) Copyright 2009
316b76705SSiddarth Gore# Marvell Semiconductor <www.marvell.com>
416b76705SSiddarth Gore# Written-by: Siddarth Gore <gores@marvell.com>
516b76705SSiddarth Gore#
6*1a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
716b76705SSiddarth Gore#
816b76705SSiddarth Gore
916b76705SSiddarth Goreinclude $(TOPDIR)/config.mk
1016b76705SSiddarth Gore
116d8962e8SSebastien CarlierLIB	= $(obj)lib$(BOARD).o
1216b76705SSiddarth Gore
1316b76705SSiddarth GoreCOBJS	:= guruplug.o
1416b76705SSiddarth Gore
1516b76705SSiddarth GoreSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
1616b76705SSiddarth GoreOBJS	:= $(addprefix $(obj),$(COBJS))
1716b76705SSiddarth GoreSOBJS	:= $(addprefix $(obj),$(SOBJS))
1816b76705SSiddarth Gore
1916b76705SSiddarth Gore$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
206d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
2116b76705SSiddarth Gore
2216b76705SSiddarth Gore#########################################################################
2316b76705SSiddarth Gore
2416b76705SSiddarth Gore# defines $(obj).depend target
2516b76705SSiddarth Goreinclude $(SRCTREE)/rules.mk
2616b76705SSiddarth Gore
2716b76705SSiddarth Goresinclude $(obj).depend
2816b76705SSiddarth Gore
2916b76705SSiddarth Gore#########################################################################
30