Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: drivers/tpm/Makefile

Issue 6683023: Add Infineon v05 TPM driver (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/u-boot-next.git@chromeos-v2010.09
Patch Set: Fix nits Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « drivers/misc/Makefile ('k') | drivers/tpm/slb9635_i2c.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: drivers/tpm/Makefile
diff --git a/drivers/tpm/Makefile b/drivers/tpm/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..d53c7911ab633b384029ea2a2f3473f24f4271bb
--- /dev/null
+++ b/drivers/tpm/Makefile
@@ -0,0 +1,42 @@
+# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+#
+
+include $(TOPDIR)/config.mk
+
+LIB := $(obj)libtpm.a
+
+IFXDIR = slb9635_i2c
+
+$(shell mkdir -p $(obj)$(IFXDIR))
+
+COBJS-$(CONFIG_INFINEON_TPM_I2C) = slb9635_i2c.o \
+ $(IFXDIR)/tpm_proto.o \
+ $(IFXDIR)/tpm.o \
+ $(IFXDIR)/tpm_tis_i2c.o \
+ $(IFXDIR)/tddl.o \
+ $(IFXDIR)/ifx_v05.o \
+ $(IFXDIR)/ifx_v03.o
+
+COBJS := $(COBJS-y)
+SRCS := $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+
+# EXTRA_CFLAGS += -I. -I$(TOPDIR)/include
+# CFLAGS += $(EXTRA_CFLAGS)
+# HOSTCFLAGS += $(EXTRA_CFLAGS)
+# CPPFLAGS += $(EXTRA_CFLAGS)
+
+all: $(LIB)
+
+$(LIB): $(obj).depend $(OBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS)
+
+#########################################################################
+
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################
« no previous file with comments | « drivers/misc/Makefile ('k') | drivers/tpm/slb9635_i2c.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698