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

Unified Diff: src/platform/vboot_reference/cgptlib/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/cgptlib/Makefile
diff --git a/src/platform/vboot_reference/cgptlib/Makefile b/src/platform/vboot_reference/cgptlib/Makefile
index 5ba386e7144e45a8c8c3356a3f958f6e008a5b4e..5b37af5610aaad2d02b475ddec9d21f633f588ee 100644
--- a/src/platform/vboot_reference/cgptlib/Makefile
+++ b/src/platform/vboot_reference/cgptlib/Makefile
@@ -6,19 +6,21 @@ CFLAGS += -Wall -Werror -ansi
INCLUDES += -Itests
SUBDIRS = tests
-all: cgpt.a
+all: libcgpt.a
+ set -e; \
for i in $(SUBDIRS); do \
- ( cd $$i ; $(MAKE)) ; \
+ $(MAKE) -C $$i; \
Bill Richardson 2010/05/20 16:51:15 That's not parallelizable. Use this instead: all:
Louis 2010/05/21 03:43:21 This cannot be parallelized because we need libcgp
done
.c.o:
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
-cgpt.a: cgptlib.o quick_sort.o crc32.o
+libcgpt.a: cgptlib.o quick_sort.o crc32.o
$(AR) rs $@ $^
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 ) ; \
+ $(MAKE) -C $$i clean; \
done
rm -f *.o *~ *.a

Powered by Google App Engine
This is Rietveld 408576698