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

Side by Side Diff: autotest/hardware_TPMFirmware/src/Makefile

Issue 3335010: vboot_reference: add hardware_TPMFirmware test case into vboot_reference repo (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git
Patch Set: Created 10 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « autotest/hardware_TPMFirmware/hardware_TPMFirmware.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 TPM = tpm
6 TPM_SRC_DIR = $(GCLIENT_ROOT)/src/third_party/$(TPM)
7 TPM_WORK_DIR = $(TPM)
8
9 TLCL = tpm_lite
10 TLCL_SRC_DIR = $(GCLIENT_ROOT)/src/platform/$(TLCL)
11 TLCL_WORK_DIR = $(TLCL)
12
13 BINDIR = .
14 PROGRAMS = \
15 clear \
16 enable \
17 globallock \
18 lock \
19 readonly \
20 writelimit
21
22 all:
23 rm -rf $(TPM_WORK_DIR)
24 cp -a $(TPM_SRC_DIR) $(TPM_WORK_DIR)
25 $(MAKE) -C $(TPM_WORK_DIR)/nvtool clean
26 $(MAKE) -C $(TPM_WORK_DIR)/nvtool
27 rm -rf $(TLCL_WORK_DIR)
28 cp -a $(TLCL_SRC_DIR) $(TLCL_WORK_DIR)
29 $(MAKE) -C $(TLCL_WORK_DIR)/src clean
30 $(MAKE) cross USE_TPM_EMULATOR=0 -C $(TLCL_WORK_DIR)/src
31 # gets rid of host binary which confuses ARM build
32 rm $(TLCL_WORK_DIR)/src/tlcl/generator
33 cp $(TPM_WORK_DIR)/nvtool/tpm-nvtool $(BINDIR)
34 set -e; for i in $(PROGRAMS); \
35 do cp $(TLCL_WORK_DIR)/src/testsuite/tpmtest_$$i $(BINDIR); done
OLDNEW
« no previous file with comments | « autotest/hardware_TPMFirmware/hardware_TPMFirmware.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698