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

Unified Diff: utility/Makefile

Issue 3151005: Add dev_sign_file utility for developers to sign their install scripts. (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | utility/dev_sign_file.c » ('j') | utility/dev_sign_file.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utility/Makefile
diff --git a/utility/Makefile b/utility/Makefile
index 03e1b7353c56f1d2663f6402d620beeaf7e9a295..5a78c906c50fc6db316f69a92ae175aebee78475 100644
--- a/utility/Makefile
+++ b/utility/Makefile
@@ -29,7 +29,8 @@ TARGET_NAMES = dumpRSAPublicKey \
vbutil_key \
adlr 2010/08/11 01:08:41 alphabetize this list
vbutil_keyblock \
verify_data \
- dev_make_keypair
+ dev_make_keypair \
+ dev_sign_file
TARGET_BINS = $(addprefix ${BUILD_ROOT}/,$(TARGET_NAMES))
ALL_DEPS = $(addsuffix .d,${TARGET_BINS})
@@ -81,6 +82,9 @@ ${BUILD_ROOT}/dev_make_keypair: dev_make_keypair
${BUILD_ROOT}/tpmc: tpmc.c $(LIBS)
$(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS)
+${BUILD_ROOT}/dev_sign_file: dev_sign_file.c $(LIBS)
+ $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
+
install: $(TARGET_BINS)
mkdir -p $(DESTDIR)
cp -f $(TARGET_BINS) $(DESTDIR)
« no previous file with comments | « no previous file | utility/dev_sign_file.c » ('j') | utility/dev_sign_file.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698