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

Side by Side Diff: utility/Makefile

Issue 6508006: Enable EFIv1 compression in bmpbklk_utility. (Closed) Base URL: http://git.chromium.org/git/vboot_reference.git@master
Patch Set: 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 -lyaml $(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
69 $(CC) $(CFLAGS) -c $< -o $@
70
71 ${BUILD_ROOT}/efidecompress.o: efidecompress.c
72 $(CC) $(CFLAGS) -c $< -o $@
73
68 ${BUILD_ROOT}/bmpblk_utility: ${BUILD_ROOT}/bmpblk_utility.o \ 74 ${BUILD_ROOT}/bmpblk_utility: ${BUILD_ROOT}/bmpblk_utility.o \
69 » » » ${BUILD_ROOT}/bmpblk_util.o 75 » » » » ${BUILD_ROOT}/bmpblk_util.o \
76 » » » » ${BUILD_ROOT}/eficompress.o \
77 » » » » ${BUILD_ROOT}/efidecompress.o
70 $(CXX) -DWITH_UTIL_MAIN -lyaml $(CFLAGS) $^ -o $@ 78 $(CXX) -DWITH_UTIL_MAIN -lyaml $(CFLAGS) $^ -o $@
71 79
72 ${BUILD_ROOT}/load_kernel_test: load_kernel_test.c $(LIBS) 80 ${BUILD_ROOT}/load_kernel_test: load_kernel_test.c $(LIBS)
73 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 81 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
74 82
75 ${BUILD_ROOT}/pad_digest_utility: pad_digest_utility.c $(LIBS) 83 ${BUILD_ROOT}/pad_digest_utility: pad_digest_utility.c $(LIBS)
76 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 84 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
77 85
78 ${BUILD_ROOT}/signature_digest_utility: signature_digest_utility.c $(LIBS) 86 ${BUILD_ROOT}/signature_digest_utility: signature_digest_utility.c $(LIBS)
79 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 87 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 STRUCTURES_TMP=${BUILD}/tlcl_structures.tmp 142 STRUCTURES_TMP=${BUILD}/tlcl_structures.tmp
135 STRUCTURES_SRC=${FWDIR}/lib/tpm_lite/include/tlcl_structures.h 143 STRUCTURES_SRC=${FWDIR}/lib/tpm_lite/include/tlcl_structures.h
136 144
137 update_tlcl_structures: ${BUILD_ROOT}/tlcl_generator 145 update_tlcl_structures: ${BUILD_ROOT}/tlcl_generator
138 ${BUILD_ROOT}/tlcl_generator > $(STRUCTURES_TMP) 146 ${BUILD_ROOT}/tlcl_generator > $(STRUCTURES_TMP)
139 cmp -s $(STRUCTURES_TMP) $(STRUCTURES_SRC) || \ 147 cmp -s $(STRUCTURES_TMP) $(STRUCTURES_SRC) || \
140 ( echo "%% Updating structures.h %%" && \ 148 ( echo "%% Updating structures.h %%" && \
141 cp $(STRUCTURES_TMP) $(STRUCTURES_SRC) ) 149 cp $(STRUCTURES_TMP) $(STRUCTURES_SRC) )
142 150
143 -include ${ALL_DEPS} 151 -include ${ALL_DEPS}
OLDNEW
« no previous file with comments | « firmware/include/bmpblk_util.h ('k') | utility/bmpblk_util.c » ('j') | utility/bmpblk_util.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698