blob: ef09f3b5d08d57c368e1153cd596ceb8a2e8380e [file] [log] [blame]
Jason Cooper8d038fa2011-10-03 13:49:53 +05301#
2# (C) Copyright 2011
3# Jason Cooper <u-boot@lakedaemon.net>
4#
5# Based on work by:
6# Marvell Semiconductor <www.marvell.com>
7# Written-by: Siddarth Gore <gores@marvell.com>
8#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02009# SPDX-License-Identifier: GPL-2.0+
Jason Cooper8d038fa2011-10-03 13:49:53 +053010#
11
12include $(TOPDIR)/config.mk
13
14LIB = $(obj)lib$(BOARD).o
15
16COBJS := dreamplug.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
25clean:
26 rm -f $(SOBJS) $(OBJS)
27
28distclean: clean
29 rm -f $(LIB) core *.bak .depend
30
31#########################################################################
32
33# defines $(obj).depend target
34include $(SRCTREE)/rules.mk
35
36sinclude $(obj).depend
37
38#########################################################################