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

Side by Side Diff: utility/Makefile

Issue 3027011: Do not directly manipulate global structs. Work on the local copy instead. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git
Patch Set: . Created 10 years, 5 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 | « firmware/version.c ('k') | utility/tlcl_generator.c » ('j') | 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 30 matching lines...) Expand all
41 41
42 ${BUILD_ROOT}/gbb_utility: gbb_utility.cc 42 ${BUILD_ROOT}/gbb_utility: gbb_utility.cc
43 $(CXX) -DWITH_UTIL_MAIN $(CFLAGS) $< -o $@ 43 $(CXX) -DWITH_UTIL_MAIN $(CFLAGS) $< -o $@
44 44
45 ${BUILD_ROOT}/load_kernel_test: load_kernel_test.c $(LIBS) 45 ${BUILD_ROOT}/load_kernel_test: load_kernel_test.c $(LIBS)
46 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 46 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
47 47
48 ${BUILD_ROOT}/signature_digest_utility: signature_digest_utility.c $(LIBS) 48 ${BUILD_ROOT}/signature_digest_utility: signature_digest_utility.c $(LIBS)
49 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 49 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
50 50
51 ${BUILD_ROOT}/tlcl_generator: tlcl_generator.c $(LIBS) 51 ${BUILD_ROOT}/tlcl_generator: tlcl_generator.c
52 » $(CC) $(CFLAGS) $(INCLUDES) -fpack-struct $< -o $@ $(LIBS) -lcrypto 52 » $(CC) $(CFLAGS) $(INCLUDES) -fpack-struct $< -o $@
53 53
54 ${BUILD_ROOT}/vbutil_firmware: vbutil_firmware.c $(LIBS) 54 ${BUILD_ROOT}/vbutil_firmware: vbutil_firmware.c $(LIBS)
55 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 55 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
56 56
57 ${BUILD_ROOT}/vbutil_kernel: vbutil_kernel.c $(LIBS) 57 ${BUILD_ROOT}/vbutil_kernel: vbutil_kernel.c $(LIBS)
58 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 58 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
59 59
60 ${BUILD_ROOT}/vbutil_key: vbutil_key.c $(LIBS) 60 ${BUILD_ROOT}/vbutil_key: vbutil_key.c $(LIBS)
61 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 61 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
62 62
(...skipping 14 matching lines...) Expand all
77 STRUCTURES_TMP=${BUILD}/tlcl_structures.tmp 77 STRUCTURES_TMP=${BUILD}/tlcl_structures.tmp
78 STRUCTURES_SRC=${FWDIR}/lib/tpm_lite/include/tlcl_structures.h 78 STRUCTURES_SRC=${FWDIR}/lib/tpm_lite/include/tlcl_structures.h
79 79
80 update_tlcl_structures: ${BUILD_ROOT}/tlcl_generator 80 update_tlcl_structures: ${BUILD_ROOT}/tlcl_generator
81 ${BUILD_ROOT}/tlcl_generator > $(STRUCTURES_TMP) 81 ${BUILD_ROOT}/tlcl_generator > $(STRUCTURES_TMP)
82 cmp -s $(STRUCTURES_TMP) $(STRUCTURES_SRC) || \ 82 cmp -s $(STRUCTURES_TMP) $(STRUCTURES_SRC) || \
83 ( echo "%% Updating structures.h %%" && \ 83 ( echo "%% Updating structures.h %%" && \
84 cp $(STRUCTURES_TMP) $(STRUCTURES_SRC) ) 84 cp $(STRUCTURES_TMP) $(STRUCTURES_SRC) )
85 85
86 -include ${ALL_DEPS} 86 -include ${ALL_DEPS}
OLDNEW
« no previous file with comments | « firmware/version.c ('k') | utility/tlcl_generator.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698