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