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

Side by Side Diff: utility/Makefile

Issue 6523019: Enable LZMA compression in bmpbklk_utility. (Closed) Base URL: http://git.chromium.org/git/vboot_reference.git@master
Patch Set: Remove unnecessary code 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
« no previous file with comments | « tests/bitmaps/TestBmpBlock.py ('k') | utility/bmpblk_util.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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
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.o: bmpblk_utility.cc 62 ${BUILD_ROOT}/bmpblk_utility.o: bmpblk_utility.cc
63 » $(CXX) -DWITH_UTIL_MAIN -lyaml $(CFLAGS) -c $< -o $@ 63 » $(CXX) -DWITH_UTIL_MAIN $(CFLAGS) -c $< -o $@
64 64
65 ${BUILD_ROOT}/bmpblk_util.o: bmpblk_util.c 65 ${BUILD_ROOT}/bmpblk_util.o: bmpblk_util.c
66 $(CC) $(CFLAGS) -c $< -o $@ 66 $(CC) $(CFLAGS) -c $< -o $@
67 67
68 ${BUILD_ROOT}/eficompress.o: eficompress.c 68 ${BUILD_ROOT}/eficompress.o: eficompress.c
69 $(CC) $(CFLAGS) -c $< -o $@ 69 $(CC) $(CFLAGS) -c $< -o $@
70 70
71 ${BUILD_ROOT}/efidecompress.o: efidecompress.c 71 ${BUILD_ROOT}/efidecompress.o: efidecompress.c
72 $(CC) $(CFLAGS) -c $< -o $@ 72 $(CC) $(CFLAGS) -c $< -o $@
73 73
74 ${BUILD_ROOT}/bmpblk_utility: ${BUILD_ROOT}/bmpblk_utility.o \ 74 ${BUILD_ROOT}/bmpblk_utility: ${BUILD_ROOT}/bmpblk_utility.o \
75 ${BUILD_ROOT}/bmpblk_util.o \ 75 ${BUILD_ROOT}/bmpblk_util.o \
76 ${BUILD_ROOT}/eficompress.o \ 76 ${BUILD_ROOT}/eficompress.o \
77 ${BUILD_ROOT}/efidecompress.o 77 ${BUILD_ROOT}/efidecompress.o
78 » $(CXX) -DWITH_UTIL_MAIN -lyaml $(CFLAGS) $^ -o $@ 78 » $(CXX) -llzma -lyaml $(CFLAGS) $^ -o $@
79 79
80 ${BUILD_ROOT}/load_kernel_test: load_kernel_test.c $(LIBS) 80 ${BUILD_ROOT}/load_kernel_test: load_kernel_test.c $(LIBS)
81 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 81 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
82 82
83 ${BUILD_ROOT}/pad_digest_utility: pad_digest_utility.c $(LIBS) 83 ${BUILD_ROOT}/pad_digest_utility: pad_digest_utility.c $(LIBS)
84 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 84 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
85 85
86 ${BUILD_ROOT}/signature_digest_utility: signature_digest_utility.c $(LIBS) 86 ${BUILD_ROOT}/signature_digest_utility: signature_digest_utility.c $(LIBS)
87 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 87 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
88 88
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 STRUCTURES_TMP=${BUILD}/tlcl_structures.tmp 142 STRUCTURES_TMP=${BUILD}/tlcl_structures.tmp
143 STRUCTURES_SRC=${FWDIR}/lib/tpm_lite/include/tlcl_structures.h 143 STRUCTURES_SRC=${FWDIR}/lib/tpm_lite/include/tlcl_structures.h
144 144
145 update_tlcl_structures: ${BUILD_ROOT}/tlcl_generator 145 update_tlcl_structures: ${BUILD_ROOT}/tlcl_generator
146 ${BUILD_ROOT}/tlcl_generator > $(STRUCTURES_TMP) 146 ${BUILD_ROOT}/tlcl_generator > $(STRUCTURES_TMP)
147 cmp -s $(STRUCTURES_TMP) $(STRUCTURES_SRC) || \ 147 cmp -s $(STRUCTURES_TMP) $(STRUCTURES_SRC) || \
148 ( echo "%% Updating structures.h %%" && \ 148 ( echo "%% Updating structures.h %%" && \
149 cp $(STRUCTURES_TMP) $(STRUCTURES_SRC) ) 149 cp $(STRUCTURES_TMP) $(STRUCTURES_SRC) )
150 150
151 -include ${ALL_DEPS} 151 -include ${ALL_DEPS}
OLDNEW
« no previous file with comments | « tests/bitmaps/TestBmpBlock.py ('k') | utility/bmpblk_util.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698