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

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

Issue 2219004: Rearrange vboot_reference directories to isolate external components. (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 | « src/platform/vboot_reference/tests/Makefile ('k') | src/platform/vboot_reference/utility/cgpt/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/vboot_reference/utility/Makefile
diff --git a/src/platform/vboot_reference/utility/Makefile b/src/platform/vboot_reference/utility/Makefile
index 86bd35d54673e6969156df7fd8b497b6902e4a1c..78b967adf5ad9dd2072c8ce8973bec742e0359bc 100644
--- a/src/platform/vboot_reference/utility/Makefile
+++ b/src/platform/vboot_reference/utility/Makefile
@@ -6,8 +6,7 @@ TOP ?= ../
CC ?= gcc
CXX ?= g++
INCLUDES += -I./include \
- -I../cryptolib/include \
- -I../common/include \
+ -I$(FWDIR)/lib/cryptolib/include \
-I../misclibs/include \
-I../vfirmware/include\
-I../vkernel/include
@@ -15,10 +14,7 @@ CFLAGS ?= -Wall -DNDEBUG -O3 -Werror $(INCLUDES)
LIBS = $(TOP)/misclibs/file_keys.o \
$(TOP)/misclibs/signature_digest.o \
$(TOP)/vfirmware/firmware_image.o \
- $(TOP)/vfirmware/firmware_image_fw.o \
- $(TOP)/vkernel/kernel_image.o \
- $(TOP)/vkernel/kernel_image_fw.o
-FIRMWARELIBS = $(TOP)/cryptolib/libcrypto.a $(TOP)/common/libcommon.a
+ $(TOP)/vkernel/kernel_image.o
SUBDIRS = cgpt
TARGET_BINS = dumpRSAPublicKey \
@@ -39,21 +35,19 @@ subdirs:
dumpRSAPublicKey: dumpRSAPublicKey.c
$(CC) $(CFLAGS) $(INCLUDES) $< -o $@ -lcrypto
-firmware_utility: firmware_utility.cc $(LIBS) $(FIRMWARELIBS)
+firmware_utility: firmware_utility.cc $(LIBS) $(FWLIB)
$(CXX) $(CFLAGS) $(INCLUDES) -ggdb -D__STDC_LIMIT_MACROS $< \
- -o $@ $(FIRMWARELIBS) $(LIBS) $(TOP)/common/libcommon.a \
- -lcrypto
+ -o $@ $(LIBS) $(FWLIB) -lcrypto
-kernel_utility: kernel_utility.cc $(LIBS) $(FIRMWARELIBS)
+kernel_utility: kernel_utility.cc $(LIBS) $(FWLIB)
$(CXX) $(CFLAGS) $(INCLUDES) -ggdb -D__STDC_LIMIT_MACROS $< \
- -o $@ $(FIRMWARELIBS) $(LIBS) $(TOP)/common/libcommon.a \
- -lcrypto
+ -o $@ $(LIBS) $(FWLIB) -lcrypto
-signature_digest_utility: signature_digest_utility.c $(LIBS) $(FIRMWARELIBS)
- $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) $(FIRMWARELIBS) -lcrypto
+signature_digest_utility: signature_digest_utility.c $(LIBS) $(FWLIB)
+ $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) $(FWLIB) -lcrypto
-verify_data: verify_data.c $(LIBS) $(FIRMWARELIBS)
- $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) $(FIRMWARELIBS) -lcrypto
+verify_data: verify_data.c $(LIBS) $(FWLIB)
+ $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) $(FWLIB) -lcrypto
clean:
set -e; \
« no previous file with comments | « src/platform/vboot_reference/tests/Makefile ('k') | src/platform/vboot_reference/utility/cgpt/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698