xref: /openbmc/u-boot/drivers/mtd/onenand/Makefile (revision 59829cc1)
1*59829cc1SJean-Christophe PLAGNIOL-VILLARD#
2*59829cc1SJean-Christophe PLAGNIOL-VILLARD# Copyright (C) 2005-2007 Samsung Electronics.
3*59829cc1SJean-Christophe PLAGNIOL-VILLARD# Kyungmin Park <kyungmin.park@samsung.com>
4*59829cc1SJean-Christophe PLAGNIOL-VILLARD#
5*59829cc1SJean-Christophe PLAGNIOL-VILLARD# See file CREDITS for list of people who contributed to this
6*59829cc1SJean-Christophe PLAGNIOL-VILLARD# project.
7*59829cc1SJean-Christophe PLAGNIOL-VILLARD#
8*59829cc1SJean-Christophe PLAGNIOL-VILLARD# This program is free software; you can redistribute it and/or
9*59829cc1SJean-Christophe PLAGNIOL-VILLARD# modify it under the terms of the GNU General Public License as
10*59829cc1SJean-Christophe PLAGNIOL-VILLARD# published by the Free Software Foundation; either version 2 of
11*59829cc1SJean-Christophe PLAGNIOL-VILLARD# the License, or (at your option) any later version.
12*59829cc1SJean-Christophe PLAGNIOL-VILLARD#
13*59829cc1SJean-Christophe PLAGNIOL-VILLARD# This program is distributed in the hope that it will be useful,
14*59829cc1SJean-Christophe PLAGNIOL-VILLARD# but WITHOUT ANY WARRANTY; without even the implied warranty of
15*59829cc1SJean-Christophe PLAGNIOL-VILLARD# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
16*59829cc1SJean-Christophe PLAGNIOL-VILLARD# GNU General Public License for more details.
17*59829cc1SJean-Christophe PLAGNIOL-VILLARD#
18*59829cc1SJean-Christophe PLAGNIOL-VILLARD# You should have received a copy of the GNU General Public License
19*59829cc1SJean-Christophe PLAGNIOL-VILLARD# along with this program; if not, write to the Free Software
20*59829cc1SJean-Christophe PLAGNIOL-VILLARD# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21*59829cc1SJean-Christophe PLAGNIOL-VILLARD# MA 02111-1307 USA
22*59829cc1SJean-Christophe PLAGNIOL-VILLARD#
23*59829cc1SJean-Christophe PLAGNIOL-VILLARD
24*59829cc1SJean-Christophe PLAGNIOL-VILLARDinclude $(TOPDIR)/config.mk
25*59829cc1SJean-Christophe PLAGNIOL-VILLARD
26*59829cc1SJean-Christophe PLAGNIOL-VILLARDLIB	:= $(obj)libonenand.a
27*59829cc1SJean-Christophe PLAGNIOL-VILLARD
28*59829cc1SJean-Christophe PLAGNIOL-VILLARDCOBJS	:= onenand_base.o onenand_bbt.o
29*59829cc1SJean-Christophe PLAGNIOL-VILLARD
30*59829cc1SJean-Christophe PLAGNIOL-VILLARDSRCS	:= $(COBJS:.o=.c)
31*59829cc1SJean-Christophe PLAGNIOL-VILLARDOBJS	:= $(addprefix $(obj),$(COBJS))
32*59829cc1SJean-Christophe PLAGNIOL-VILLARD
33*59829cc1SJean-Christophe PLAGNIOL-VILLARDall:	$(LIB)
34*59829cc1SJean-Christophe PLAGNIOL-VILLARD
35*59829cc1SJean-Christophe PLAGNIOL-VILLARD$(LIB): $(obj).depend $(OBJS)
36*59829cc1SJean-Christophe PLAGNIOL-VILLARD	$(AR) $(ARFLAGS) $@ $(OBJS)
37*59829cc1SJean-Christophe PLAGNIOL-VILLARD
38*59829cc1SJean-Christophe PLAGNIOL-VILLARD#########################################################################
39*59829cc1SJean-Christophe PLAGNIOL-VILLARD
40*59829cc1SJean-Christophe PLAGNIOL-VILLARDinclude $(SRCTREE)/rules.mk
41*59829cc1SJean-Christophe PLAGNIOL-VILLARD
42*59829cc1SJean-Christophe PLAGNIOL-VILLARDsinclude $(obj).depend
43*59829cc1SJean-Christophe PLAGNIOL-VILLARD
44*59829cc1SJean-Christophe PLAGNIOL-VILLARD#########################################################################
45