Balaji Manigandan has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/56307 )
Change subject: payloads/external/depthcharge:Add option to skip repo fetch ......................................................................
payloads/external/depthcharge:Add option to skip repo fetch
Payload depthcharge repository gets automatically cloned/updated based on the Kconfig settings,discarding any local cherry-picks This option DEPTHCHARGE_SKIP_REPO_FETCH allows users to retain cherry-pick and particularly useful while debugging
Signed-off-by: Balaji Manigandan B balaji.manigandan@intel.com Change-Id: I5f0be607504af87a8634c6cbd97888b72f8ba41b --- M payloads/external/depthcharge/Kconfig M payloads/external/depthcharge/Makefile 2 files changed, 6 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/56307/1
diff --git a/payloads/external/depthcharge/Kconfig b/payloads/external/depthcharge/Kconfig index 89c81ef..27c410d 100644 --- a/payloads/external/depthcharge/Kconfig +++ b/payloads/external/depthcharge/Kconfig @@ -48,4 +48,9 @@ instead. This is can be a convenience for development purposes, or if the defaults in defconfig are sufficient for your system.
+config DEPTHCHARGE_SKIP_REPO_FETCH + bool "Skip automatic update of the repo" + default n + help + Set this flag if you need to pick any patches and build them endif diff --git a/payloads/external/depthcharge/Makefile b/payloads/external/depthcharge/Makefile index 23595e5..464900a 100644 --- a/payloads/external/depthcharge/Makefile +++ b/payloads/external/depthcharge/Makefile @@ -72,7 +72,7 @@ $(MAKE) -C $(libpayload_dir) $(MAKE) -C $(libpayload_dir) install DESTDIR=$(libpayload_install_dir)
-config: $(project_dir)/.version_$(TAG-y) $(libpayload_install_dir) +config: $(if $(findstring y,$(DEPTHCHARGE_SKIP_REPO_FETCH)),,$(project_dir)/.version_$(TAG-y)) $(libpayload_install_dir) echo " CONFIG project_name $(TAG-y)" export VERSION=$$(cd depthcharge && \ git describe --tags --long --dirty 2>/dev/null || \