xref: /openbmc/u-boot/board/samsung/smdkv310/Makefile (revision 26ddff2d)
1e21185baSChander Kashyap#
2e21185baSChander Kashyap# Copyright (C) 2011 Samsung Electronics
3e21185baSChander Kashyap#
4e21185baSChander Kashyap# See file CREDITS for list of people who contributed to this
5e21185baSChander Kashyap# project.
6e21185baSChander Kashyap#
7e21185baSChander Kashyap# This program is free software; you can redistribute it and/or
8e21185baSChander Kashyap# modify it under the terms of the GNU General Public License as
9e21185baSChander Kashyap# published by the Free Software Foundation; either version 2 of
10e21185baSChander Kashyap# the License, or (at your option) any later version.
11e21185baSChander Kashyap#
12e21185baSChander Kashyap# This program is distributed in the hope that it will be useful,
13e21185baSChander Kashyap# but WITHOUT ANY WARRANTY; without even the implied warranty of
14e21185baSChander Kashyap# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15e21185baSChander Kashyap# GNU General Public License for more details.
16e21185baSChander Kashyap#
17e21185baSChander Kashyap# You should have received a copy of the GNU General Public License
18e21185baSChander Kashyap# along with this program; if not, write to the Free Software
19e21185baSChander Kashyap# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20e21185baSChander Kashyap# MA 02111-1307 USA
21e21185baSChander Kashyap#
22e21185baSChander Kashyap
23e21185baSChander Kashyapinclude $(TOPDIR)/config.mk
24e21185baSChander Kashyap
25e21185baSChander KashyapLIB	= $(obj)lib$(BOARD).o
26e21185baSChander Kashyap
27e21185baSChander KashyapSOBJS	:= mem_setup.o
28e21185baSChander KashyapSOBJS	+= lowlevel_init.o
29e21185baSChander KashyapCOBJS	+= smdkv310.o
30e21185baSChander Kashyap
31e21185baSChander KashyapSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
32e21185baSChander KashyapOBJS	:= $(addprefix $(obj),$(COBJS) $(SOBJS))
33e21185baSChander Kashyap
34e21185baSChander Kashyapall:	 $(obj).depend $(LIB)
35e21185baSChander Kashyap
36e21185baSChander Kashyap$(LIB):	$(OBJS)
37*26ddff2dSMike Frysinger	$(call cmd_link_o_target, $(OBJS))
38e21185baSChander Kashyap
39e21185baSChander Kashyap#########################################################################
40e21185baSChander Kashyap
41e21185baSChander Kashyap# defines $(obj).depend target
42e21185baSChander Kashyapinclude $(SRCTREE)/rules.mk
43e21185baSChander Kashyap
44e21185baSChander Kashyapsinclude $(obj).depend
45e21185baSChander Kashyap
46e21185baSChander Kashyap#########################################################################
47