summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-02-10 11:23:08 +1100
committerCommit Bot <commit-bot@chromium.org>2022-02-19 07:19:15 +0000
commitf0af257a9b333b27d6ed9540ffbbb5cf4e20ba12 (patch)
tree028ffd2fdb814f5a599b0953135aa1d8915b1fdb /Makefile
parent6e537e8cefffafabddb323b58fa1fb2a605ea195 (diff)
downloadvboot-f0af257a9b333b27d6ed9540ffbbb5cf4e20ba12.tar.gz
vboot_ref: Reshuffle parallel flashrom impl
Bring sub-process and libflashrom wrapper implementations under the common host/lib path to later be reconciled. The WP implementation is left separated out due to the lack of a libflashrom WP implementation which creates circular dependencies for the moment. BUG=b:207808292 BRANCH=none TEST=none Signed-off-by: Edward O'Callaghan <quasisec@google.com> Change-Id: Ic759c4e9828778a0ef1443b163224aef2c7cba54 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3461093 Reviewed-by: Nikolai Artemiev <nartemiev@google.com> Auto-Submit: Edward O'Callaghan <quasisec@chromium.org> Tested-by: Edward O'Callaghan <quasisec@chromium.org> Commit-Queue: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4f0dee41..e6c3bcac 100644
--- a/Makefile
+++ b/Makefile
@@ -436,6 +436,7 @@ ALL_OBJS += ${FWLIB_OBJS} ${TLCL_OBJS}
COMMONLIB_SRCS = \
host/lib/fmap.c \
host/lib/flashrom.c \
+ host/lib/flashrom_drv.c \
host/lib/subprocess.c
# Intermediate library for the vboot_reference utilities to link against.
@@ -664,7 +665,8 @@ USE_FLASHROM ?= 1
ifneq ($(filter-out 0,${USE_FLASHROM}),)
$(info building with libflashrom support)
FLASHROM_LIBS := $(shell ${PKG_CONFIG} --libs flashrom)
-FUTIL_SRCS += futility/flashrom_drv.c \
+FUTIL_SRCS += host/lib/flashrom_drv.c \
+ futility/flashrom_wp_drv.c \
futility/updater_archive.c \
futility/updater_quirks.c \
futility/updater_utils.c \