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

Side by Side Diff: utility/Makefile

Issue 6334111: Slight modification to a previously-LGTM'd CL, to work with ebuild changes. (Closed) Base URL: http://git.chromium.org/git/vboot_reference.git@master
Patch Set: D'oh! Version is 1.0, not 1.1 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 | « firmware/version.c ('k') | utility/bmpblk_utility.cc » ('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 18 matching lines...) Expand all
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 pack_firmware_image 37 pack_firmware_image
38 38
39 ifeq ($(MINIMAL),)
40 TARGET_NAMES += bmpblk_utility
41 endif
42
39 TARGET_BINS = $(addprefix ${BUILD_ROOT}/,$(TARGET_NAMES)) 43 TARGET_BINS = $(addprefix ${BUILD_ROOT}/,$(TARGET_NAMES))
40 ALL_DEPS = $(addsuffix .d,${TARGET_BINS}) 44 ALL_DEPS = $(addsuffix .d,${TARGET_BINS})
41 45
42 all: $(TARGET_BINS) 46 all: $(TARGET_BINS)
43 47
44 ${BUILD_ROOT}/dumpRSAPublicKey: dumpRSAPublicKey.c 48 ${BUILD_ROOT}/dumpRSAPublicKey: dumpRSAPublicKey.c
45 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ -lcrypto 49 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ -lcrypto
46 50
47 ${BUILD_ROOT}/dump_kernel_config: dump_kernel_config.c $(LIBS) 51 ${BUILD_ROOT}/dump_kernel_config: dump_kernel_config.c $(LIBS)
48 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 52 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
49 53
50 ${BUILD_ROOT}/gbb_utility: gbb_utility.cc 54 ${BUILD_ROOT}/gbb_utility: gbb_utility.cc
51 $(CXX) -DWITH_UTIL_MAIN $(CFLAGS) $< -o $@ 55 $(CXX) -DWITH_UTIL_MAIN $(CFLAGS) $< -o $@
52 56
57 ${BUILD_ROOT}/bmpblk_utility: bmpblk_utility.cc
58 $(CXX) -DWITH_UTIL_MAIN -lyaml $(CFLAGS) $< -o $@
59
53 ${BUILD_ROOT}/load_kernel_test: load_kernel_test.c $(LIBS) 60 ${BUILD_ROOT}/load_kernel_test: load_kernel_test.c $(LIBS)
54 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 61 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
55 62
56 ${BUILD_ROOT}/signature_digest_utility: signature_digest_utility.c $(LIBS) 63 ${BUILD_ROOT}/signature_digest_utility: signature_digest_utility.c $(LIBS)
57 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto 64 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
58 65
59 ${BUILD_ROOT}/tlcl_generator: tlcl_generator.c 66 ${BUILD_ROOT}/tlcl_generator: tlcl_generator.c
60 $(HOSTCC) $(CFLAGS) $(INCLUDES) -fpack-struct $< -o $@ 67 $(HOSTCC) $(CFLAGS) $(INCLUDES) -fpack-struct $< -o $@
61 68
62 ${BUILD_ROOT}/vbutil_firmware: vbutil_firmware.c $(LIBS) 69 ${BUILD_ROOT}/vbutil_firmware: vbutil_firmware.c $(LIBS)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 STRUCTURES_TMP=${BUILD}/tlcl_structures.tmp 119 STRUCTURES_TMP=${BUILD}/tlcl_structures.tmp
113 STRUCTURES_SRC=${FWDIR}/lib/tpm_lite/include/tlcl_structures.h 120 STRUCTURES_SRC=${FWDIR}/lib/tpm_lite/include/tlcl_structures.h
114 121
115 update_tlcl_structures: ${BUILD_ROOT}/tlcl_generator 122 update_tlcl_structures: ${BUILD_ROOT}/tlcl_generator
116 ${BUILD_ROOT}/tlcl_generator > $(STRUCTURES_TMP) 123 ${BUILD_ROOT}/tlcl_generator > $(STRUCTURES_TMP)
117 cmp -s $(STRUCTURES_TMP) $(STRUCTURES_SRC) || \ 124 cmp -s $(STRUCTURES_TMP) $(STRUCTURES_SRC) || \
118 ( echo "%% Updating structures.h %%" && \ 125 ( echo "%% Updating structures.h %%" && \
119 cp $(STRUCTURES_TMP) $(STRUCTURES_SRC) ) 126 cp $(STRUCTURES_TMP) $(STRUCTURES_SRC) )
120 127
121 -include ${ALL_DEPS} 128 -include ${ALL_DEPS}
OLDNEW
« no previous file with comments | « firmware/version.c ('k') | utility/bmpblk_utility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698