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

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

Issue 2586003: Explicitly list dependency files instead of searching for them. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/vboot_reference/vboot_firmware/Makefile
diff --git a/src/platform/vboot_reference/vboot_firmware/Makefile b/src/platform/vboot_reference/vboot_firmware/Makefile
index 2dbdc57b33e54e8c1571bf1ca96966be153ef434..518db8e667b225ea62f927445412260c0c6bcf86 100644
--- a/src/platform/vboot_reference/vboot_firmware/Makefile
+++ b/src/platform/vboot_reference/vboot_firmware/Makefile
@@ -19,11 +19,32 @@ INC = \
-I$(LIBDIR)/cryptolib/include
-LIB_SRCS := $(shell find $(LIBDIR) -iname '*.c')
-LIB_OBJS := $(LIB_SRCS:%.c=%.o)
+# find ./lib -iname '*.c' | sort
+LIB_SRCS = \
+ ./lib/cgptlib/cgptlib.c \
+ ./lib/cgptlib/cgptlib_internal.c \
+ ./lib/cgptlib/crc32.c \
+ ./lib/cryptolib/padding.c \
+ ./lib/cryptolib/rsa.c \
+ ./lib/cryptolib/rsa_utility.c \
+ ./lib/cryptolib/sha1.c \
+ ./lib/cryptolib/sha2.c \
+ ./lib/cryptolib/sha_utility.c \
+ ./lib/firmware_image_fw.c \
+ ./lib/kernel_image_fw.c \
+ ./lib/load_kernel_fw.c \
+ ./lib/rollback_index.c \
+ ./lib/stateful_util.c \
+ ./lib/tlcl.c
-STUB_SRCS := $(shell find $(STUBDIR) -iname '*.c')
-STUB_OBJS := $(STUB_SRCS:%.c=%.o)
+LIB_OBJS = $(LIB_SRCS:%.c=%.o)
+
+# find ./stub -iname '*.c' | sort
+STUB_SRCS = \
+ ./stub/boot_device_stub.c \
+ ./stub/utility_stub.c
+
+STUB_OBJS = $(STUB_SRCS:%.c=%.o)
test : $(LIBNAME)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698