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

Unified Diff: utility/Makefile

Issue 2719008: Nearly complete rewrite of cgpt tool. (Closed) Base URL: ssh://git@chromiumos-git//vboot_reference.git
Patch Set: Created 10 years, 6 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 | « tests/run_cgpt_tests.sh ('k') | utility/cgpt/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utility/Makefile
diff --git a/utility/Makefile b/utility/Makefile
index e6b1bc0e697124bcaa4e5991ebb8f84618bb9c91..50612dd073f2d678f568443a1068c2324af0b9a4 100644
--- a/utility/Makefile
+++ b/utility/Makefile
@@ -22,9 +22,8 @@ LIBS = $(TOP)/misclibs/file_keys.o \
$(TOP)/vkernel/kernel_image.o \
$(HOSTLIB) \
$(FWLIB)
-SUBDIRS = cgpt
-DESTDIR ?= /opt/bin
+DESTDIR ?= /usr/bin
TARGET_BINS = dumpRSAPublicKey \
firmware_utility \
@@ -35,14 +34,7 @@ TARGET_BINS = dumpRSAPublicKey \
vbutil_key \
verify_data
-all: $(TARGET_BINS) subdirs
-
-.PHONY: subdirs
-subdirs:
- set -e; \
- for i in $(SUBDIRS); do \
- $(MAKE) -C $$i $(MAKECMDGOALS); \
- done
+all: $(TARGET_BINS)
dumpRSAPublicKey: dumpRSAPublicKey.c
$(CC) $(CFLAGS) $(INCLUDES) $< -o $@ -lcrypto
@@ -74,13 +66,9 @@ verify_data: verify_data.c $(LIBS)
$(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) -lcrypto
clean:
- set -e; \
- for i in $(SUBDIRS); do \
- $(MAKE) -C $$i clean; \
- done
rm -f $(TARGET_BINS)
-install: $(TARGET_BINS) subdirs
+install: $(TARGET_BINS)
mkdir -p $(DESTDIR)
cp -f $(TARGET_BINS) $(DESTDIR)
chmod a+rx $(patsubst %,$(DESTDIR)/%,$(TARGET_BINS))
« no previous file with comments | « tests/run_cgpt_tests.sh ('k') | utility/cgpt/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698