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

Unified Diff: src/platform/vboot_reference/utils/Makefile

Issue 578025: Refactor code from test/ to utils/ since they are not just used by tests. (Closed)
Patch Set: Fix nits. Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/vboot_reference/tests/run_tests.sh ('k') | src/platform/vboot_reference/utils/sign_data.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/vboot_reference/utils/Makefile
diff --git a/src/platform/vboot_reference/utils/Makefile b/src/platform/vboot_reference/utils/Makefile
index 85735832ce0743247816f1342adbf6ace9c46a0b..d72aaf4721ae62e4ef6d5ca3756c1afa7643d9ce 100644
--- a/src/platform/vboot_reference/utils/Makefile
+++ b/src/platform/vboot_reference/utils/Makefile
@@ -3,10 +3,18 @@
# found in the LICENSE file.
LIBS=-lcrypto
+FIRMWARELIBS=$(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a
-all: dumpRSAPublicKey
+all: dumpRSAPublicKey verify_data signature_digest
dumpRSAPublicKey: dumpRSAPublicKey.c
$(CC) $(CFLAGS) $(LIBS) $< -o $@
+
+verify_data: verify_data.c
+ $(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $< -o $@ $(FIRMWARELIBS)
+
+signature_digest: signature_digest.c
+ $(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $< -o $@ $(FIRMWARELIBS)
+
clean:
- rm -f dumpRSAPublicKey
+ rm -f dumpRSAPublicKey verify_data signature_digest
« no previous file with comments | « src/platform/vboot_reference/tests/run_tests.sh ('k') | src/platform/vboot_reference/utils/sign_data.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698