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