xref: /rk3399_rockchip-uboot/fs/cbfs/Makefile (revision 84cd93272e384bf26e8346f2153a0b46dfb7b434)
1*84cd9327SGabe Black#
2*84cd9327SGabe Black# See file CREDITS for list of people who contributed to this
3*84cd9327SGabe Black# project.
4*84cd9327SGabe Black#
5*84cd9327SGabe Black# This program is free software; you can redistribute it and/or
6*84cd9327SGabe Black# modify it under the terms of the GNU General Public License as
7*84cd9327SGabe Black# published by the Free Software Foundation; either version 2 of
8*84cd9327SGabe Black# the License, or (at your option) any later version.
9*84cd9327SGabe Black#
10*84cd9327SGabe Black# This program is distributed in the hope that it will be useful,
11*84cd9327SGabe Black# but WITHOUT ANY WARRANTY; without even the implied warranty of
12*84cd9327SGabe Black# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13*84cd9327SGabe Black# GNU General Public License for more details.
14*84cd9327SGabe Black#
15*84cd9327SGabe Black# You should have received a copy of the GNU General Public License
16*84cd9327SGabe Black# along with this program; if not, write to the Free Software
17*84cd9327SGabe Black# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
18*84cd9327SGabe Black# MA 02111-1307 USA
19*84cd9327SGabe Black#
20*84cd9327SGabe Black
21*84cd9327SGabe Blackinclude $(TOPDIR)/config.mk
22*84cd9327SGabe Black
23*84cd9327SGabe BlackLIB	= $(obj)libcbfs.o
24*84cd9327SGabe Black
25*84cd9327SGabe BlackCOBJS-$(CONFIG_CMD_CBFS)	:= cbfs.o
26*84cd9327SGabe Black
27*84cd9327SGabe BlackSRCS	:= $(COBJS-y:.o=.c)
28*84cd9327SGabe BlackOBJS	:= $(addprefix $(obj),$(COBJS-y))
29*84cd9327SGabe Black
30*84cd9327SGabe Blackall:	$(LIB)
31*84cd9327SGabe Black
32*84cd9327SGabe Black$(LIB):	$(obj).depend $(OBJS)
33*84cd9327SGabe Black	$(call cmd_link_o_target, $(OBJS))
34*84cd9327SGabe Black
35*84cd9327SGabe Black
36*84cd9327SGabe Black#########################################################################
37*84cd9327SGabe Black
38*84cd9327SGabe Black# defines $(obj).depend target
39*84cd9327SGabe Blackinclude $(SRCTREE)/rules.mk
40*84cd9327SGabe Black
41*84cd9327SGabe Blacksinclude $(obj).depend
42*84cd9327SGabe Black
43*84cd9327SGabe Black#########################################################################
44