1*9e40808cSMinkyu Kang#
2*9e40808cSMinkyu Kang# Copyright (C) 2010 Samsung Electronics
3*9e40808cSMinkyu Kang# Minkyu Kang <mk7.kang@samsung.com>
4*9e40808cSMinkyu Kang#
5*9e40808cSMinkyu Kang# See file CREDITS for list of people who contributed to this
6*9e40808cSMinkyu Kang# project.
7*9e40808cSMinkyu Kang#
8*9e40808cSMinkyu Kang# This program is free software; you can redistribute it and/or
9*9e40808cSMinkyu Kang# modify it under the terms of the GNU General Public License as
10*9e40808cSMinkyu Kang# published by the Free Software Foundation; either version 2 of
11*9e40808cSMinkyu Kang# the License, or (at your option) any later version.
12*9e40808cSMinkyu Kang#
13*9e40808cSMinkyu Kang# This program is distributed in the hope that it will be useful,
14*9e40808cSMinkyu Kang# but WITHOUT ANY WARRANTY; without even the implied warranty of
15*9e40808cSMinkyu Kang# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16*9e40808cSMinkyu Kang# GNU General Public License for more details.
17*9e40808cSMinkyu Kang#
18*9e40808cSMinkyu Kang# You should have received a copy of the GNU General Public License
19*9e40808cSMinkyu Kang# along with this program; if not, write to the Free Software
20*9e40808cSMinkyu Kang# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21*9e40808cSMinkyu Kang# MA 02111-1307 USA
22*9e40808cSMinkyu Kang#
23*9e40808cSMinkyu Kang
24*9e40808cSMinkyu Kanginclude $(TOPDIR)/config.mk
25*9e40808cSMinkyu Kang
26*9e40808cSMinkyu KangLIB	= $(obj)lib$(BOARD).o
27*9e40808cSMinkyu Kang
28*9e40808cSMinkyu KangCOBJS-y	:= universal.o onenand.o
29*9e40808cSMinkyu KangSOBJS	:= lowlevel_init.o
30*9e40808cSMinkyu Kang
31*9e40808cSMinkyu KangSRCS    := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
32*9e40808cSMinkyu KangOBJS	:= $(addprefix $(obj),$(COBJS-y))
33*9e40808cSMinkyu KangSOBJS	:= $(addprefix $(obj),$(SOBJS))
34*9e40808cSMinkyu Kang
35*9e40808cSMinkyu Kang$(LIB):	$(obj).depend $(SOBJS) $(OBJS)
36*9e40808cSMinkyu Kang	$(call cmd_link_o_target, $(SOBJS) $(OBJS))
37*9e40808cSMinkyu Kang
38*9e40808cSMinkyu Kangclean:
39*9e40808cSMinkyu Kang	rm -f $(SOBJS) $(OBJS)
40*9e40808cSMinkyu Kang
41*9e40808cSMinkyu Kangdistclean:	clean
42*9e40808cSMinkyu Kang	rm -f $(LIB) core *.bak $(obj).depend
43*9e40808cSMinkyu Kang
44*9e40808cSMinkyu Kang#########################################################################
45*9e40808cSMinkyu Kang
46*9e40808cSMinkyu Kang# defines $(obj).depend target
47*9e40808cSMinkyu Kanginclude $(SRCTREE)/rules.mk
48*9e40808cSMinkyu Kang
49*9e40808cSMinkyu Kangsinclude $(obj).depend
50*9e40808cSMinkyu Kang
51*9e40808cSMinkyu Kang#########################################################################
52