From 5f445f97c202b8d8947fa621934e9faa2b1d47a4 Mon Sep 17 00:00:00 2001 From: Bora Guvendik Date: Thu, 15 Apr 2021 17:16:47 -0700 Subject: payloads/depthcharge: Use static_fw_config.h file for depthcharge build Use static_fw_config.h during depthcharge build to be in line with latest depthcharge changes on the main branch. https://chromium-review.googlesource.com/c/chromiumos/platform/depthcharge/+/2523517 BUG=none TEST=Boot to OS Signed-off-by: Bora Guvendik Change-Id: I72a681d9321750c392000e11a21d81020dde3fd7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52403 Tested-by: build bot (Jenkins) Reviewed-by: Meera Ravindranath Reviewed-by: Tim Wawrzynczak Reviewed-by: Varshit B Pandya --- payloads/external/depthcharge/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'payloads/external/depthcharge') diff --git a/payloads/external/depthcharge/Makefile b/payloads/external/depthcharge/Makefile index d7a4b59379..23595e54d6 100644 --- a/payloads/external/depthcharge/Makefile +++ b/payloads/external/depthcharge/Makefile @@ -8,6 +8,7 @@ project_config_file=$(project_dir)/.config output_dir=$(project_dir)/build libpayload_dir=$(abspath $(CURDIR)/../../libpayload) libpayload_install_dir=$(output_dir)/lp_$(BOARD) +coreboot_build_dir=$(abspath $(CURDIR)/../../../build) VBOOT_SOURCE ?= $(abspath $(CURDIR)/../../../3rdparty/vboot) EC_HEADERS ?= $(abspath $(CURDIR)/../../../3rdparty/chromeec/include) @@ -84,6 +85,7 @@ config: $(project_dir)/.version_$(TAG-y) $(libpayload_install_dir) build: config echo " MAKE $(project_name) $(TAG-y)" + cp $(coreboot_build_dir)/static_fw_config.h depthcharge/src/base/ $(MAKE) -C $(project_dir) depthcharge BOARD=$(BOARD) \ LIBPAYLOAD_DIR=$(libpayload_install_dir)/libpayload \ VB_SOURCE=$(VBOOT_SOURCE) \ -- cgit v1.2.3