summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2019-12-06 09:59:45 -0700
committerCommit Bot <commit-bot@chromium.org>2019-12-10 03:26:46 +0000
commit4a106ceaadb71cf33173b226652c4ffdac921d2d (patch)
tree1ba18003b18b62177fcad323029eb50d24342067 /Makefile
parent7d205000b0ad85c35b724dd5ba71bc648627d826 (diff)
downloadvboot-4a106ceaadb71cf33173b226652c4ffdac921d2d.tar.gz
crossystem: change mosys calls to use the subprocess library
The new subprocess_run library function provides a unit-tested way to call subprocesses and collect output. BUG=chromium:1030473 BRANCH=none TEST=On drallion and druwl, crossystem works for both reading and writing Change-Id: I072d91cf68ee91c663652d2c0433ef8bbedad7d7 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1955806 Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2116741a..948df3dd 100644
--- a/Makefile
+++ b/Makefile
@@ -514,6 +514,7 @@ HOSTLIB_SRCS = \
host/lib/extract_vmlinuz.c \
host/lib/fmap.c \
host/lib/host_misc.c \
+ host/lib/subprocess.c \
${TLCL_SRCS}
HOSTLIB_OBJS = ${HOSTLIB_SRCS:%.c=${BUILD}/%.o}