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>
This commit is contained in:
parent
3df27a66a1
commit
5f445f97c2
|
@ -8,6 +8,7 @@ project_config_file=$(project_dir)/.config
|
||||||
output_dir=$(project_dir)/build
|
output_dir=$(project_dir)/build
|
||||||
libpayload_dir=$(abspath $(CURDIR)/../../libpayload)
|
libpayload_dir=$(abspath $(CURDIR)/../../libpayload)
|
||||||
libpayload_install_dir=$(output_dir)/lp_$(BOARD)
|
libpayload_install_dir=$(output_dir)/lp_$(BOARD)
|
||||||
|
coreboot_build_dir=$(abspath $(CURDIR)/../../../build)
|
||||||
|
|
||||||
VBOOT_SOURCE ?= $(abspath $(CURDIR)/../../../3rdparty/vboot)
|
VBOOT_SOURCE ?= $(abspath $(CURDIR)/../../../3rdparty/vboot)
|
||||||
EC_HEADERS ?= $(abspath $(CURDIR)/../../../3rdparty/chromeec/include)
|
EC_HEADERS ?= $(abspath $(CURDIR)/../../../3rdparty/chromeec/include)
|
||||||
|
@ -84,6 +85,7 @@ config: $(project_dir)/.version_$(TAG-y) $(libpayload_install_dir)
|
||||||
|
|
||||||
build: config
|
build: config
|
||||||
echo " MAKE $(project_name) $(TAG-y)"
|
echo " MAKE $(project_name) $(TAG-y)"
|
||||||
|
cp $(coreboot_build_dir)/static_fw_config.h depthcharge/src/base/
|
||||||
$(MAKE) -C $(project_dir) depthcharge BOARD=$(BOARD) \
|
$(MAKE) -C $(project_dir) depthcharge BOARD=$(BOARD) \
|
||||||
LIBPAYLOAD_DIR=$(libpayload_install_dir)/libpayload \
|
LIBPAYLOAD_DIR=$(libpayload_install_dir)/libpayload \
|
||||||
VB_SOURCE=$(VBOOT_SOURCE) \
|
VB_SOURCE=$(VBOOT_SOURCE) \
|
||||||
|
|
Loading…
Reference in New Issue