OLD | NEW |
(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 # Simple Makefile for local compilation on the platform and cross compilation |
| 6 # using emerge. |
| 7 |
| 8 USE_TPM_EMULATOR ?= 1 |
| 9 |
| 10 default: |
| 11 @echo "Usage: make { local | cross } [ USE_TPM_EMULATOR=0 ]" |
| 12 @exit 1 |
| 13 |
| 14 local: |
| 15 (cd tlcl; $(MAKE) USE_TPM_EMULATOR=$(USE_TPM_EMULATOR)) |
| 16 (cd testsuite; $(MAKE) USE_TPM_EMULATOR=$(USE_TPM_EMULATOR) \ |
| 17 LOCAL_COMPILATION=1) |
| 18 |
| 19 cross: |
| 20 (cd tlcl; $(MAKE) USE_TPM_EMULATOR=$(USE_TPM_EMULATOR)) |
| 21 (cd testsuite; $(MAKE) USE_TPM_EMULATOR=$(USE_TPM_EMULATOR)) |
| 22 |
| 23 clean: |
| 24 (cd tlcl; $(MAKE) clean) |
| 25 (cd testsuite; $(MAKE) clean) |
OLD | NEW |