| Index: src/platform/tpm_lite/src/Makefile
|
| diff --git a/src/platform/tpm_lite/src/Makefile b/src/platform/tpm_lite/src/Makefile
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8f8b208cb6c37319b20fcf3b2b60565df4f40b21
|
| --- /dev/null
|
| +++ b/src/platform/tpm_lite/src/Makefile
|
| @@ -0,0 +1,25 @@
|
| +# Copyright (c) 2010 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.
|
| +
|
| +# Simple Makefile for local compilation on the platform and cross compilation
|
| +# using emerge.
|
| +
|
| +USE_TPM_EMULATOR ?= 1
|
| +
|
| +default:
|
| + @echo "Usage: make { local | cross } [ USE_TPM_EMULATOR=0 ]"
|
| + @exit 1
|
| +
|
| +local:
|
| + (cd tlcl; $(MAKE) USE_TPM_EMULATOR=$(USE_TPM_EMULATOR))
|
| + (cd testsuite; $(MAKE) USE_TPM_EMULATOR=$(USE_TPM_EMULATOR) \
|
| + LOCAL_COMPILATION=1)
|
| +
|
| +cross:
|
| + (cd tlcl; $(MAKE) USE_TPM_EMULATOR=$(USE_TPM_EMULATOR))
|
| + (cd testsuite; $(MAKE) USE_TPM_EMULATOR=$(USE_TPM_EMULATOR))
|
| +
|
| +clean:
|
| + (cd tlcl; $(MAKE) clean)
|
| + (cd testsuite; $(MAKE) clean)
|
|
|