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

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

Issue 2082015: add cgpt framework and attribute support. (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
Index: src/platform/vboot_reference/utility/Makefile
diff --git a/src/platform/vboot_reference/utility/Makefile b/src/platform/vboot_reference/utility/Makefile
index a5f6f584eaa12ac08a9af1511c5ec22c5fd9ec0d..833553a953e5775ec61ceb38a37b1bc20a5035a8 100644
--- a/src/platform/vboot_reference/utility/Makefile
+++ b/src/platform/vboot_reference/utility/Makefile
@@ -19,6 +19,7 @@ LIBS = $(TOP)/misclibs/file_keys.o \
$(TOP)/vkernel/kernel_image.o \
$(TOP)/vkernel/kernel_image_fw.o
FIRMWARELIBS = $(TOP)/cryptolib/libcrypto.a $(TOP)/common/libcommon.a
+SUBDIRS = cgpt
TARGET_BINS = dumpRSAPublicKey \
firmware_utility \
@@ -26,7 +27,14 @@ TARGET_BINS = dumpRSAPublicKey \
signature_digest_utility \
verify_data
-all: $(TARGET_BINS)
+all: $(TARGET_BINS) subdirs
+
+.PHONY: subdirs
+subdirs:
Bill Richardson 2010/05/20 16:51:15 That's not parallelizable. Use this instead: sub
Louis 2010/05/21 03:43:21 Done.
+ set -e; \
+ for i in $(SUBDIRS); do \
+ $(MAKE) -C $$i ; \
+ done
dumpRSAPublicKey: dumpRSAPublicKey.c
$(CC) $(CFLAGS) $(INCLUDES) $< -o $@ -lcrypto
@@ -48,5 +56,8 @@ verify_data: verify_data.c $(LIBS) $(FIRMWARELIBS)
$(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) $(FIRMWARELIBS) -lcrypto
clean:
+ set -e; \
+ for i in $(SUBDIRS); do \
Bill Richardson 2010/05/20 16:51:15 clean: $(foreach DIR,$(SUBDIRS),$(DIR)-subdir)
Louis 2010/05/21 03:43:21 This cannot be parallelized because our build syst
+ $(MAKE) -C $$i clean; \
+ done
rm -f $(TARGET_BINS)
-

Powered by Google App Engine
This is Rietveld 408576698