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 INCLUDES += -I./include \ | 5 INCLUDES += -I./include \ |
6 -I$(FWDIR)/lib/include \ | 6 -I$(FWDIR)/lib/include \ |
7 -I$(FWDIR)/lib/cgptlib/include \ | 7 -I$(FWDIR)/lib/cgptlib/include \ |
8 -I$(FWDIR)/lib/cryptolib/include \ | 8 -I$(FWDIR)/lib/cryptolib/include \ |
9 -I$(FWDIR)/lib/tpm_lite/include \ | 9 -I$(FWDIR)/lib/tpm_lite/include \ |
10 -I$(HOSTDIR)/include | 10 -I$(HOSTDIR)/include |
11 CFLAGS += $(INCLUDES) | 11 CFLAGS += $(INCLUDES) |
12 CFLAGS += -MMD -MF $@.d | 12 CFLAGS += -MMD -MF $@.d |
13 LIBS = $(HOSTLIB) $(FWLIB) | 13 LIBS = $(HOSTLIB) |
14 HOSTCC = cc | 14 HOSTCC = cc |
15 | 15 |
16 BUILD_ROOT = ${BUILD}/utility | 16 BUILD_ROOT = ${BUILD}/utility |
17 | 17 |
18 DESTDIR ?= /usr/bin | 18 DESTDIR ?= /usr/bin |
19 | 19 |
20 TARGET_NAMES = dumpRSAPublicKey \ | 20 TARGET_NAMES = dumpRSAPublicKey \ |
21 dump_kernel_config \ | 21 dump_kernel_config \ |
22 gbb_utility \ | 22 gbb_utility \ |
23 load_kernel_test \ | 23 load_kernel_test \ |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 STRUCTURES_TMP=${BUILD}/tlcl_structures.tmp | 107 STRUCTURES_TMP=${BUILD}/tlcl_structures.tmp |
108 STRUCTURES_SRC=${FWDIR}/lib/tpm_lite/include/tlcl_structures.h | 108 STRUCTURES_SRC=${FWDIR}/lib/tpm_lite/include/tlcl_structures.h |
109 | 109 |
110 update_tlcl_structures: ${BUILD_ROOT}/tlcl_generator | 110 update_tlcl_structures: ${BUILD_ROOT}/tlcl_generator |
111 ${BUILD_ROOT}/tlcl_generator > $(STRUCTURES_TMP) | 111 ${BUILD_ROOT}/tlcl_generator > $(STRUCTURES_TMP) |
112 cmp -s $(STRUCTURES_TMP) $(STRUCTURES_SRC) || \ | 112 cmp -s $(STRUCTURES_TMP) $(STRUCTURES_SRC) || \ |
113 ( echo "%% Updating structures.h %%" && \ | 113 ( echo "%% Updating structures.h %%" && \ |
114 cp $(STRUCTURES_TMP) $(STRUCTURES_SRC) ) | 114 cp $(STRUCTURES_TMP) $(STRUCTURES_SRC) ) |
115 | 115 |
116 -include ${ALL_DEPS} | 116 -include ${ALL_DEPS} |
OLD | NEW |