xref: /openbmc/u-boot/drivers/tpm/Makefile (revision 5e124724)
1*5e124724SVadim Bendebury# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2*5e124724SVadim Bendebury#
3*5e124724SVadim Bendebury# See file CREDITS for list of people who contributed to this
4*5e124724SVadim Bendebury# project.
5*5e124724SVadim Bendebury#
6*5e124724SVadim Bendebury# This program is free software; you can redistribute it and/or
7*5e124724SVadim Bendebury# modify it under the terms of the GNU General Public License as
8*5e124724SVadim Bendebury# published by the Free Software Foundation; either version 2 of
9*5e124724SVadim Bendebury# the License, or (at your option) any later version.
10*5e124724SVadim Bendebury#
11*5e124724SVadim Bendebury# This program is distributed in the hope that it will be useful,
12*5e124724SVadim Bendebury# but WITHOUT ANY WARRANTY; without even the implied warranty of
13*5e124724SVadim Bendebury# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*5e124724SVadim Bendebury# GNU General Public License for more details.
15*5e124724SVadim Bendebury#
16*5e124724SVadim Bendebury# You should have received a copy of the GNU General Public License
17*5e124724SVadim Bendebury# along with this program; if not, write to the Free Software
18*5e124724SVadim Bendebury# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
19*5e124724SVadim Bendebury# MA 02111-1307 USA
20*5e124724SVadim Bendebury#
21*5e124724SVadim Bendebury
22*5e124724SVadim Bendeburyinclude $(TOPDIR)/config.mk
23*5e124724SVadim Bendebury
24*5e124724SVadim BendeburyLIB := $(obj)libtpm.o
25*5e124724SVadim Bendebury
26*5e124724SVadim BendeburyCOBJS-$(CONFIG_GENERIC_LPC_TPM) = generic_lpc_tpm.o
27*5e124724SVadim Bendebury
28*5e124724SVadim BendeburyCOBJS	:= $(COBJS-y)
29*5e124724SVadim BendeburySRCS	:= $(COBJS:.o=.c)
30*5e124724SVadim BendeburyOBJS	:= $(addprefix $(obj),$(COBJS))
31*5e124724SVadim Bendebury
32*5e124724SVadim Bendeburyall:	$(LIB)
33*5e124724SVadim Bendebury
34*5e124724SVadim Bendebury$(LIB): $(obj).depend $(OBJS)
35*5e124724SVadim Bendebury	$(call cmd_link_o_target, $(OBJS))
36*5e124724SVadim Bendebury
37*5e124724SVadim Bendebury#########################################################################
38*5e124724SVadim Bendebury
39*5e124724SVadim Bendeburyinclude $(SRCTREE)/rules.mk
40*5e124724SVadim Bendebury
41*5e124724SVadim Bendeburysinclude $(obj).depend
42*5e124724SVadim Bendebury
43*5e124724SVadim Bendebury#########################################################################
44