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

Unified Diff: tpmd_dev/linux/Makefile

Issue 660204: Upgrade to tpm-emulator version 0.7. (Closed)
Patch Set: Created 10 years, 10 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 | « tpmd_dev/darwin/tpm_bridge.xcodeproj/project.pbxproj ('k') | tpmd_dev/linux/tpmd_dev.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tpmd_dev/linux/Makefile
diff --git a/tpmd_dev/Makefile b/tpmd_dev/linux/Makefile
similarity index 59%
rename from tpmd_dev/Makefile
rename to tpmd_dev/linux/Makefile
index 63304bccdc4dfb5d8dcb622b41e6a0542d4b5488..a69f8cc5e4e092ff7f7b003c4466d8155e3b8140 100644
--- a/tpmd_dev/Makefile
+++ b/tpmd_dev/linux/Makefile
@@ -1,7 +1,7 @@
-# Software-Based Trusted Platform Module (TPM) Emulator for Linux
-# Copyright (C) 2006 Mario Strasser <mast@gmx.net>
+# Software-based Trusted Platform Module (TPM) Emulator
+# Copyright (C) 2004-2010 Mario Strasser <mast@gmx.net>
#
-# $Id$
+# $Id: Makefile 364 2010-02-11 10:24:45Z mast $
# kernel settings
KERNEL_RELEASE := $(shell uname -r)
@@ -14,25 +14,24 @@ obj-m := $(MODULE_NAME).o
# do not print "Entering directory ..."
MAKEFLAGS += --no-print-directory
-EXTRA_CFLAGS += -Wall -Werror -DDEBUG
+EXTRA_CFLAGS += -Wall -Werror
all:
@$(MAKE) -C $(KERNEL_BUILD) M=$(CURDIR) modules
clean:
@$(MAKE) -C $(KERNEL_BUILD) M=$(CURDIR) clean
- rm -f Modules.symvers tpmd_dev.rules
+ @rm -f Modules.symvers tpmd_dev.rules
-TPMD_USER ?= tss
-TPMD_GROUP ?= tss
+TPM_GROUP ?= tss
INSTALL ?= install
tpmd_dev.rules: tpmd_dev.rules.in
- sed -e "s/\$$TPMD_GROUP/$(TPMD_GROUP)/g" tpmd_dev.rules.in > tpmd_dev.rules
+ @sed -e "s/\$$TPM_GROUP/$(TPM_GROUP)/g" tpmd_dev.rules.in > tpmd_dev.rules
install: tpmd_dev.rules
@$(MAKE) -C $(KERNEL_BUILD) M=$(CURDIR) INSTALL_MOD_PATH=$(DESTDIR) modules_install
- $(INSTALL) -m 644 -D tpmd_dev.rules $(DESTDIR)/etc/udev/rules.d/80-tpmd_dev.rules
+ @$(INSTALL) -m 644 -D tpmd_dev.rules $(DESTDIR)/etc/udev/rules.d/80-tpmd_dev.rules
.PHONY: all clean install
« no previous file with comments | « tpmd_dev/darwin/tpm_bridge.xcodeproj/project.pbxproj ('k') | tpmd_dev/linux/tpmd_dev.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698