blob: 1754c817335f48652bd8307b7d88628b0f938cb9 [file] [log] [blame]
Eric Coopera3f41c82010-11-24 17:11:32 +05301#
2# Copyright (C) 2010 Eric C. Cooper <ecc@cmu.edu>
3#
4# Based on sheevaplug/Makefile originally written by
5# Prafulla Wadaskar <prafulla@marvell.com>
6# (C) Copyright 2009
7# Marvell Semiconductor <www.marvell.com>
8#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02009# SPDX-License-Identifier: GPL-2.0+
Eric Coopera3f41c82010-11-24 17:11:32 +053010#
11
12include $(TOPDIR)/config.mk
13
14LIB = $(obj)lib$(BOARD).o
15
16COBJS := dockstar.o
17
18SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
19OBJS := $(addprefix $(obj),$(COBJS))
20SOBJS := $(addprefix $(obj),$(SOBJS))
21
22$(LIB): $(obj).depend $(OBJS) $(SOBJS)
23 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
24
Eric Coopera3f41c82010-11-24 17:11:32 +053025#########################################################################
26
27# defines $(obj).depend target
28include $(SRCTREE)/rules.mk
29
30sinclude $(obj).depend
31
32#########################################################################