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

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

Issue 1581005: VBoot Reference: Refactoring Part 3 (Closed)
Patch Set: . Created 10 years, 9 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
Index: src/platform/vboot_reference/cryptolib/Makefile
diff --git a/src/platform/vboot_reference/crypto/Makefile b/src/platform/vboot_reference/cryptolib/Makefile
similarity index 78%
rename from src/platform/vboot_reference/crypto/Makefile
rename to src/platform/vboot_reference/cryptolib/Makefile
index bd2eabd3be14f6176095d57c266df66e96614681..6fe364abea4a1bbc975e5eec35bad913d254d020 100644
--- a/src/platform/vboot_reference/crypto/Makefile
+++ b/src/platform/vboot_reference/cryptolib/Makefile
@@ -2,17 +2,19 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+TOP ?= ../
SRCS = rsa.c sha1.c sha2.c padding.c rsa_utility.c sha_utility.c
OBJS = $(SRCS:.c=.o)
CFLAGS += -DUNROLL_LOOPS -DHAVE_ENDIAN_H -DHAVE_LITTLE_ENDIAN
+INCLUDES += -I./include/ -I$(TOP)/common/include/
all: libcrypto.a
libcrypto.a: $(OBJS)
ar rs libcrypto.a $(OBJS)
-padding.c: genpadding.sh
- ./genpadding.sh >$@
+padding.c: $(TOP)/scripts/genpadding.sh
+ $(TOP)/scripts/genpadding.sh >$@
.c.o: $(OBJS)
$(CC) $(CFLAGS) -ansi $(INCLUDES) -c $< -o $@
« no previous file with comments | « src/platform/vboot_reference/common/rollback_index.c ('k') | src/platform/vboot_reference/cryptolib/include/cryptolib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698