xref: /rk3399_rockchip-uboot/fs/sandbox/Makefile (revision 92ccc96bf3cd6c6a3a9a56e03d5ceb4874735d22)
1*92ccc96bSSimon Glass#
2*92ccc96bSSimon Glass# Copyright (c) 2012, Google Inc.
3*92ccc96bSSimon Glass#
4*92ccc96bSSimon Glass# (C) Copyright 2006
5*92ccc96bSSimon Glass# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6*92ccc96bSSimon Glass#
7*92ccc96bSSimon Glass# (C) Copyright 2003
8*92ccc96bSSimon Glass# Pavel Bartusek, Sysgo Real-Time Solutions AG, pba@sysgo.de
9*92ccc96bSSimon Glass#
10*92ccc96bSSimon Glass# This program is free software; you can redistribute it and/or
11*92ccc96bSSimon Glass# modify it under the terms of the GNU General Public License as
12*92ccc96bSSimon Glass# published by the Free Software Foundation; either version 2 of
13*92ccc96bSSimon Glass# the License, or (at your option) any later version.
14*92ccc96bSSimon Glass#
15*92ccc96bSSimon Glass# This program is distributed in the hope that it will be useful,
16*92ccc96bSSimon Glass# but WITHOUT ANY WARRANTY; without even the implied warranty of
17*92ccc96bSSimon Glass# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*92ccc96bSSimon Glass# GNU General Public License for more details.
19*92ccc96bSSimon Glass#
20*92ccc96bSSimon Glass# You should have received a copy of the GNU General Public License
21*92ccc96bSSimon Glass# along with this program; if not, write to the Free Software
22*92ccc96bSSimon Glass# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23*92ccc96bSSimon Glass# MA 02111-1307 USA
24*92ccc96bSSimon Glass#
25*92ccc96bSSimon Glass
26*92ccc96bSSimon Glassinclude $(TOPDIR)/config.mk
27*92ccc96bSSimon Glass
28*92ccc96bSSimon GlassLIB	= $(obj)libsandboxfs.o
29*92ccc96bSSimon Glass
30*92ccc96bSSimon GlassCOBJS-$(CONFIG_SANDBOX) := sandboxfs.o
31*92ccc96bSSimon Glass
32*92ccc96bSSimon GlassSRCS	:= $(COBJS-y:.o=.c)
33*92ccc96bSSimon GlassOBJS	:= $(addprefix $(obj),$(AOBJS) $(COBJS-y))
34*92ccc96bSSimon Glass
35*92ccc96bSSimon Glassall:	$(LIB) $(AOBJS)
36*92ccc96bSSimon Glass
37*92ccc96bSSimon Glass$(LIB):	$(obj).depend $(OBJS)
38*92ccc96bSSimon Glass	$(call cmd_link_o_target, $(OBJS))
39*92ccc96bSSimon Glass
40*92ccc96bSSimon Glass#########################################################################
41*92ccc96bSSimon Glass
42*92ccc96bSSimon Glass# defines $(obj).depend target
43*92ccc96bSSimon Glassinclude $(SRCTREE)/rules.mk
44*92ccc96bSSimon Glass
45*92ccc96bSSimon Glasssinclude $(obj).depend
46*92ccc96bSSimon Glass
47*92ccc96bSSimon Glass#########################################################################
48