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

Side by Side Diff: utility/Makefile

Issue 6482001: New commandline args are clearer, and prepare for compression. (Closed) Base URL: http://git.chromium.org/git/vboot_reference.git@master
Patch Set: Move bmpblk_util.h out of firmware/include Created 9 years, 10 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
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 ${BUILD_ROOT}/dumpRSAPublicKey: dumpRSAPublicKey.c 53 ${BUILD_ROOT}/dumpRSAPublicKey: dumpRSAPublicKey.c
54 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ -lcrypto 54 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ -lcrypto
55 55
56 ${BUILD_ROOT}/dump_kernel_config: dump_kernel_config.c $(LIBS) 56 ${BUILD_ROOT}/dump_kernel_config: dump_kernel_config.c $(LIBS)
57 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 57 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
58 58
59 ${BUILD_ROOT}/gbb_utility: gbb_utility.cc 59 ${BUILD_ROOT}/gbb_utility: gbb_utility.cc
60 $(CXX) -DWITH_UTIL_MAIN $(CFLAGS) $< -o $@ 60 $(CXX) -DWITH_UTIL_MAIN $(CFLAGS) $< -o $@
61 61
62 ${BUILD_ROOT}/bmpblk_utility: bmpblk_utility.cc 62 ${BUILD_ROOT}/bmpblk_utility.o: bmpblk_utility.cc
63 » $(CXX) -DWITH_UTIL_MAIN -lyaml $(CFLAGS) $< -o $@ 63 » $(CXX) -DWITH_UTIL_MAIN -lyaml $(CFLAGS) -c $< -o $@
64
65 ${BUILD_ROOT}/bmpblk_util.o: bmpblk_util.c
66 » $(CC) $(CFLAGS) -c $< -o $@
67
68 ${BUILD_ROOT}/bmpblk_utility: ${BUILD_ROOT}/bmpblk_utility.o ${BUILD_ROOT}/bmpbl k_util.o
69 » $(CXX) -DWITH_UTIL_MAIN -lyaml $(CFLAGS) $^ -o $@
64 70
65 ${BUILD_ROOT}/load_kernel_test: load_kernel_test.c $(LIBS) 71 ${BUILD_ROOT}/load_kernel_test: load_kernel_test.c $(LIBS)
66 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 72 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
67 73
68 ${BUILD_ROOT}/pad_digest_utility: pad_digest_utility.c $(LIBS) 74 ${BUILD_ROOT}/pad_digest_utility: pad_digest_utility.c $(LIBS)
69 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 75 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
70 76
71 ${BUILD_ROOT}/signature_digest_utility: signature_digest_utility.c $(LIBS) 77 ${BUILD_ROOT}/signature_digest_utility: signature_digest_utility.c $(LIBS)
72 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 78 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
73 79
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 STRUCTURES_TMP=${BUILD}/tlcl_structures.tmp 133 STRUCTURES_TMP=${BUILD}/tlcl_structures.tmp
128 STRUCTURES_SRC=${FWDIR}/lib/tpm_lite/include/tlcl_structures.h 134 STRUCTURES_SRC=${FWDIR}/lib/tpm_lite/include/tlcl_structures.h
129 135
130 update_tlcl_structures: ${BUILD_ROOT}/tlcl_generator 136 update_tlcl_structures: ${BUILD_ROOT}/tlcl_generator
131 ${BUILD_ROOT}/tlcl_generator > $(STRUCTURES_TMP) 137 ${BUILD_ROOT}/tlcl_generator > $(STRUCTURES_TMP)
132 cmp -s $(STRUCTURES_TMP) $(STRUCTURES_SRC) || \ 138 cmp -s $(STRUCTURES_TMP) $(STRUCTURES_SRC) || \
133 ( echo "%% Updating structures.h %%" && \ 139 ( echo "%% Updating structures.h %%" && \
134 cp $(STRUCTURES_TMP) $(STRUCTURES_SRC) ) 140 cp $(STRUCTURES_TMP) $(STRUCTURES_SRC) )
135 141
136 -include ${ALL_DEPS} 142 -include ${ALL_DEPS}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698