xref: /openbmc/u-boot/board/Marvell/openrd/Makefile (revision c0dcece7)
1#
2# (C) Copyright 2009
3# Net Insight <www.netinsight.net>
4# Written-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
5#
6# Based on sheevaplug:
7# (C) Copyright 2009
8# Marvell Semiconductor <www.marvell.com>
9# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
10#
11# SPDX-License-Identifier:	GPL-2.0+
12#
13
14include $(TOPDIR)/config.mk
15
16LIB	= $(obj)lib$(BOARD).o
17
18COBJS	:= openrd.o
19
20SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
21OBJS	:= $(addprefix $(obj),$(COBJS))
22SOBJS	:= $(addprefix $(obj),$(SOBJS))
23
24$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
25	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
26
27#########################################################################
28
29# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
31
32sinclude $(obj).depend
33
34#########################################################################
35