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

Side by Side Diff: utility/Makefile

Issue 3389004: Rehaul of firmware TPM tests (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git
Patch Set: remove leaked change 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 | « tests/tpm_lite/writelimit.c ('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
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
(...skipping 15 matching lines...) Expand all
26 tpm_init_temp_fix \ 26 tpm_init_temp_fix \
27 tpmc \ 27 tpmc \
28 vbutil_firmware \ 28 vbutil_firmware \
29 vbutil_kernel \ 29 vbutil_kernel \
30 vbutil_key \ 30 vbutil_key \
31 vbutil_keyblock \ 31 vbutil_keyblock \
32 verify_data \ 32 verify_data \
33 dev_make_keypair \ 33 dev_make_keypair \
34 dev_sign_file \ 34 dev_sign_file \
35 dump_fmap \ 35 dump_fmap \
36 » » dev_debug_vboot 36 » » dev_debug_vboot \
37 37
38 TARGET_BINS = $(addprefix ${BUILD_ROOT}/,$(TARGET_NAMES)) 38 TARGET_BINS = $(addprefix ${BUILD_ROOT}/,$(TARGET_NAMES))
39 ALL_DEPS = $(addsuffix .d,${TARGET_BINS}) 39 ALL_DEPS = $(addsuffix .d,${TARGET_BINS})
40 40
41 all: $(TARGET_BINS) 41 all: $(TARGET_BINS)
42 42
43 ${BUILD_ROOT}/dumpRSAPublicKey: dumpRSAPublicKey.c 43 ${BUILD_ROOT}/dumpRSAPublicKey: dumpRSAPublicKey.c
44 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ -lcrypto 44 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ -lcrypto
45 45
46 ${BUILD_ROOT}/dump_kernel_config: dump_kernel_config.c $(LIBS) 46 ${BUILD_ROOT}/dump_kernel_config: dump_kernel_config.c $(LIBS)
(...skipping 25 matching lines...) Expand all
72 72
73 ${BUILD_ROOT}/verify_data: verify_data.c $(LIBS) 73 ${BUILD_ROOT}/verify_data: verify_data.c $(LIBS)
74 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 74 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
75 75
76 ${BUILD_ROOT}/sign_image: sign_image.c $(LIBS) 76 ${BUILD_ROOT}/sign_image: sign_image.c $(LIBS)
77 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 77 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
78 78
79 ${BUILD_ROOT}/tpm_init_temp_fix: tpm_init_temp_fix.c $(LIBS) 79 ${BUILD_ROOT}/tpm_init_temp_fix: tpm_init_temp_fix.c $(LIBS)
80 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) 80 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS)
81 81
82 ${BUILD_ROOT}/tpm_set_readsrkpub: tpm_set_readsrkpub.c
83 $(CC) $(CFLAGS) $< -o $@ -ltspi
84
82 ${BUILD_ROOT}/dev_make_keypair: dev_make_keypair 85 ${BUILD_ROOT}/dev_make_keypair: dev_make_keypair
83 cp -f $< $@ 86 cp -f $< $@
84 chmod +x $@ 87 chmod +x $@
85 88
86 ${BUILD_ROOT}/dev_debug_vboot: dev_debug_vboot 89 ${BUILD_ROOT}/dev_debug_vboot: dev_debug_vboot
87 cp -f $< $@ 90 cp -f $< $@
88 chmod +x $@ 91 chmod +x $@
89 92
90 ${BUILD_ROOT}/tpmc: tpmc.c $(LIBS) 93 ${BUILD_ROOT}/tpmc: tpmc.c $(LIBS)
91 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) 94 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS)
(...skipping 12 matching lines...) Expand all
104 STRUCTURES_TMP=${BUILD}/tlcl_structures.tmp 107 STRUCTURES_TMP=${BUILD}/tlcl_structures.tmp
105 STRUCTURES_SRC=${FWDIR}/lib/tpm_lite/include/tlcl_structures.h 108 STRUCTURES_SRC=${FWDIR}/lib/tpm_lite/include/tlcl_structures.h
106 109
107 update_tlcl_structures: ${BUILD_ROOT}/tlcl_generator 110 update_tlcl_structures: ${BUILD_ROOT}/tlcl_generator
108 ${BUILD_ROOT}/tlcl_generator > $(STRUCTURES_TMP) 111 ${BUILD_ROOT}/tlcl_generator > $(STRUCTURES_TMP)
109 cmp -s $(STRUCTURES_TMP) $(STRUCTURES_SRC) || \ 112 cmp -s $(STRUCTURES_TMP) $(STRUCTURES_SRC) || \
110 ( echo "%% Updating structures.h %%" && \ 113 ( echo "%% Updating structures.h %%" && \
111 cp $(STRUCTURES_TMP) $(STRUCTURES_SRC) ) 114 cp $(STRUCTURES_TMP) $(STRUCTURES_SRC) )
112 115
113 -include ${ALL_DEPS} 116 -include ${ALL_DEPS}
OLDNEW
« no previous file with comments | « tests/tpm_lite/writelimit.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698