blob: f87fe7a6e99a7d695fe938487abb55a0a0303d38 [file] [log] [blame]
Simon Kagstrom258c3302009-09-22 04:01:01 +05301#
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#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +020011# SPDX-License-Identifier: GPL-2.0+
Simon Kagstrom258c3302009-09-22 04:01:01 +053012#
13
14include $(TOPDIR)/config.mk
15
Sebastien Carliera8d426f2010-11-05 15:48:07 +010016LIB = $(obj)lib$(BOARD).o
Simon Kagstrom258c3302009-09-22 04:01:01 +053017
Clint Adams564dff72011-05-06 22:06:47 +053018COBJS := openrd.o
Simon Kagstrom258c3302009-09-22 04:01:01 +053019
20SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
21OBJS := $(addprefix $(obj),$(COBJS))
22SOBJS := $(addprefix $(obj),$(SOBJS))
23
24$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010025 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Simon Kagstrom258c3302009-09-22 04:01:01 +053026
Simon Kagstrom258c3302009-09-22 04:01:01 +053027#########################################################################
28
29# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
31
32sinclude $(obj).depend
33
34#########################################################################