OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 TPM = tpm | 5 TPM = tpm |
6 TPM_SRC_DIR = $(GCLIENT_ROOT)/src/third_party/$(TPM) | 6 TPM_SRC_DIR = $(GCLIENT_ROOT)/src/third_party/$(TPM) |
7 TPM_WORK_DIR = $(TPM) | 7 TPM_WORK_DIR = $(TPM) |
8 | 8 |
9 TLCL = tpm_lite | 9 TLCL = tpm_lite |
10 TLCL_SRC_DIR = $(GCLIENT_ROOT)/src/platform/$(TLCL) | 10 TLCL_SRC_DIR = $(GCLIENT_ROOT)/src/platform/$(TLCL) |
(...skipping 15 matching lines...) Expand all Loading... |
26 $(MAKE) -C $(TPM_WORK_DIR)/nvtool | 26 $(MAKE) -C $(TPM_WORK_DIR)/nvtool |
27 rm -rf $(TLCL_WORK_DIR) | 27 rm -rf $(TLCL_WORK_DIR) |
28 cp -a $(TLCL_SRC_DIR) $(TLCL_WORK_DIR) | 28 cp -a $(TLCL_SRC_DIR) $(TLCL_WORK_DIR) |
29 $(MAKE) -C $(TLCL_WORK_DIR)/src clean | 29 $(MAKE) -C $(TLCL_WORK_DIR)/src clean |
30 $(MAKE) cross USE_TPM_EMULATOR=0 -C $(TLCL_WORK_DIR)/src | 30 $(MAKE) cross USE_TPM_EMULATOR=0 -C $(TLCL_WORK_DIR)/src |
31 # gets rid of host binary which confuses ARM build | 31 # gets rid of host binary which confuses ARM build |
32 rm $(TLCL_WORK_DIR)/src/tlcl/generator | 32 rm $(TLCL_WORK_DIR)/src/tlcl/generator |
33 cp $(TPM_WORK_DIR)/nvtool/tpm-nvtool $(BINDIR) | 33 cp $(TPM_WORK_DIR)/nvtool/tpm-nvtool $(BINDIR) |
34 set -e; for i in $(PROGRAMS); \ | 34 set -e; for i in $(PROGRAMS); \ |
35 do cp $(TLCL_WORK_DIR)/src/testsuite/tpmtest_$$i $(BINDIR); done | 35 do cp $(TLCL_WORK_DIR)/src/testsuite/tpmtest_$$i $(BINDIR); done |
OLD | NEW |