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

Unified Diff: utility/Makefile

Issue 6880176: Build EFI compression utilities on host (Closed) Base URL: ssh://gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Created 9 years, 8 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 | utility/eficompress.c » ('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 fbbd0658cd9b615674b81bd99c098524e38459da..a60ef21a3d325441e88fda8e93dce2d4fd210290 100644
--- a/utility/Makefile
+++ b/utility/Makefile
@@ -40,7 +40,7 @@ TARGET_NAMES = crossystem \
pack_firmware_image
ifeq ($(MINIMAL),)
-TARGET_NAMES += bmpblk_utility
+TARGET_NAMES += bmpblk_utility eficompress efidecompress
endif
TARGET_BINS = $(addprefix ${BUILD_ROOT}/,$(TARGET_NAMES))
@@ -69,9 +69,15 @@ ${BUILD_ROOT}/bmpblk_util.o: bmpblk_util.c
${BUILD_ROOT}/eficompress.o: eficompress.c
$(CC) $(CFLAGS) -c $< -o $@
+${BUILD_ROOT}/eficompress: eficompress.c
+ $(CC) $(CFLAGS) -DSTANDALONE $< -o $@
+
${BUILD_ROOT}/efidecompress.o: efidecompress.c
$(CC) $(CFLAGS) -c $< -o $@
+${BUILD_ROOT}/efidecompress: efidecompress.c
+ $(CC) $(CFLAGS) -DSTANDALONE $< -o $@
+
${BUILD_ROOT}/bmpblk_utility: ${BUILD_ROOT}/bmpblk_utility.o \
${BUILD_ROOT}/bmpblk_util.o \
${BUILD_ROOT}/eficompress.o \
« no previous file with comments | « no previous file | utility/eficompress.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698