xref: /openbmc/u-boot/board/renesas/rsk7264/Makefile (revision 0cb77bfa)
1#
2# Copyright (C) 2011 Renesas Electronics Europe Ltd.
3#
4# This file is released under the terms of GPL v2 and any later version.
5# See the file COPYING in the root directory of the source tree for details.
6
7include $(TOPDIR)/config.mk
8
9LIB	= lib$(BOARD).o
10
11OBJS	:= rsk7264.o
12SOBJS	:= lowlevel_init.o
13
14LIB	:= $(addprefix $(obj),$(LIB))
15OBJS	:= $(addprefix $(obj),$(OBJS))
16SOBJS	:= $(addprefix $(obj),$(SOBJS))
17
18$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
19	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
20
21clean:
22	rm -f $(SOBJS) $(OBJS)
23
24distclean:	clean
25	rm -f $(LIB) core *.bak .depend
26
27#########################################################################
28
29# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
31
32sinclude $(obj).depend
33