1#
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#
9# SPDX-License-Identifier:	GPL-2.0+
10#
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#########################################################################
39