summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-06-09 13:09:39 +1000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-16 00:45:02 +0000
commit61971455ccb99fc6da03c493dfcda102e71aee2f (patch)
tree630284c4574524d3e8472ff04fb1af844d33f799
parentdff7e6124b6a9fafe98dd0812f9f454ef979ac5f (diff)
downloadvboot-stabilize-14918.B.tar.gz
vboot_ref/Makefile: Expose symbols irregardless of USE_FLASHROMstabilize-14918.B
subproccess helpers are only used by flashrom.c at the moment. However we temporarily need the symbols to bridge the gap with cbfstools/elogtool in upstream coreboot. Furthmore, there are new additional use-cases for subproccess in other parts of vboot_reference unrelated to flashrom directly. BUG=b:231152447 BRANCH=none TEST=builds Change-Id: Id8008eefd46efa329adf76323800bb7646bf922c Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3697856 Tested-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Commit-Queue: Julius Werner <jwerner@chromium.org> Auto-Submit: Edward O'Callaghan <quasisec@chromium.org>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5f5b7066..abbb343b 100644
--- a/Makefile
+++ b/Makefile
@@ -447,10 +447,10 @@ $(info building with libflashrom support)
FLASHROM_LIBS := $(shell ${PKG_CONFIG} --libs flashrom)
COMMONLIB_SRCS = \
host/lib/flashrom.c \
- host/lib/flashrom_drv.c \
- host/lib/subprocess.c
+ host/lib/flashrom_drv.c
CFLAGS += -DUSE_FLASHROM
endif
+COMMONLIB_SRCS += host/lib/subprocess.c
# Intermediate library for the vboot_reference utilities to link against.
UTILLIB = ${BUILD}/libvboot_util.a