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

Side by Side Diff: tpmd_dev/linux/Makefile

Issue 660204: Upgrade to tpm-emulator version 0.7. (Closed)
Patch Set: Created 10 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Software-Based Trusted Platform Module (TPM) Emulator for Linux 1 # Software-based Trusted Platform Module (TPM) Emulator
2 # Copyright (C) 2006 Mario Strasser <mast@gmx.net> 2 # Copyright (C) 2004-2010 Mario Strasser <mast@gmx.net>
3 # 3 #
4 # $Id$ 4 # $Id: Makefile 364 2010-02-11 10:24:45Z mast $
5 5
6 # kernel settings 6 # kernel settings
7 KERNEL_RELEASE := $(shell uname -r) 7 KERNEL_RELEASE := $(shell uname -r)
8 KERNEL_BUILD := /lib/modules/$(KERNEL_RELEASE)/build 8 KERNEL_BUILD := /lib/modules/$(KERNEL_RELEASE)/build
9 MOD_SUBDIR := misc 9 MOD_SUBDIR := misc
10 10
11 # module settings 11 # module settings
12 MODULE_NAME := tpmd_dev 12 MODULE_NAME := tpmd_dev
13 obj-m := $(MODULE_NAME).o 13 obj-m := $(MODULE_NAME).o
14 14
15 # do not print "Entering directory ..." 15 # do not print "Entering directory ..."
16 MAKEFLAGS += --no-print-directory 16 MAKEFLAGS += --no-print-directory
17 EXTRA_CFLAGS += -Wall -Werror -DDEBUG 17 EXTRA_CFLAGS += -Wall -Werror
18 18
19 all: 19 all:
20 @$(MAKE) -C $(KERNEL_BUILD) M=$(CURDIR) modules 20 @$(MAKE) -C $(KERNEL_BUILD) M=$(CURDIR) modules
21 21
22 clean: 22 clean:
23 @$(MAKE) -C $(KERNEL_BUILD) M=$(CURDIR) clean 23 @$(MAKE) -C $(KERNEL_BUILD) M=$(CURDIR) clean
24 » rm -f Modules.symvers tpmd_dev.rules 24 » @rm -f Modules.symvers tpmd_dev.rules
25 25
26 TPMD_USER ?= tss 26 TPM_GROUP ?= tss
27 TPMD_GROUP ?= tss
28 INSTALL ?= install 27 INSTALL ?= install
29 28
30 tpmd_dev.rules: tpmd_dev.rules.in 29 tpmd_dev.rules: tpmd_dev.rules.in
31 » sed -e "s/\$$TPMD_GROUP/$(TPMD_GROUP)/g" tpmd_dev.rules.in > tpmd_dev.ru les 30 » @sed -e "s/\$$TPM_GROUP/$(TPM_GROUP)/g" tpmd_dev.rules.in > tpmd_dev.rul es
32 31
33 install: tpmd_dev.rules 32 install: tpmd_dev.rules
34 @$(MAKE) -C $(KERNEL_BUILD) M=$(CURDIR) INSTALL_MOD_PATH=$(DESTDIR) modu les_install 33 @$(MAKE) -C $(KERNEL_BUILD) M=$(CURDIR) INSTALL_MOD_PATH=$(DESTDIR) modu les_install
35 » $(INSTALL) -m 644 -D tpmd_dev.rules $(DESTDIR)/etc/udev/rules.d/80-tpmd_ dev.rules 34 » @$(INSTALL) -m 644 -D tpmd_dev.rules $(DESTDIR)/etc/udev/rules.d/80-tpmd _dev.rules
36 35
37 .PHONY: all clean install 36 .PHONY: all clean install
38 37
OLDNEW
« 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