summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBora Guvendik <bora.guvendik@intel.com>2021-04-15 17:16:47 -0700
committerTim Wawrzynczak <twawrzynczak@chromium.org>2021-04-23 15:37:45 +0000
commit5f445f97c202b8d8947fa621934e9faa2b1d47a4 (patch)
treea357a08a76de6d3d0c59688ef47816c01d96608b
parent3df27a66a11fa1832b7f09f04f86792568ff6edb (diff)
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 <bora.guvendik@intel.com> Change-Id: I72a681d9321750c392000e11a21d81020dde3fd7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52403 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Meera Ravindranath <meera.ravindranath@intel.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Varshit B Pandya <varshit.b.pandya@intel.com>
-rw-r--r--payloads/external/depthcharge/Makefile2
1 files changed, 2 insertions, 0 deletions
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) \