diff options
author | Cliff Huang <cliff.huang@intel.com> | 2024-02-22 15:45:26 -0800 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2024-03-04 22:47:08 +0000 |
commit | fa97970e85b40ae9a6cb9ec8521ce1aa6eb9e8e3 (patch) | |
tree | 290980dc9db5352674f93beb8d2d7d0edbe1fd87 /payloads/external/Makefile.mk | |
parent | d6850f31092777a7fbd6134ad17f1ed665f6c2b1 (diff) |
payloads/depthcharge: Add DEPTHCHARGE_REPO and DEPTHCHARGE_BRANCH
Move hard-coded repo and repo name to Kconfig as default value
DEPTHCHARGE_REPO default to:
https://chromium.googlesource.com/chromiumos/platform/depthcharge
DEPTHCHARGE_BRANCH default to:
origin/main
When DEPTHCHARGE_MASTER=y, DEPTHCHARGE_BRANCH can be used to point
out a particular branch.
This change enable to use mirrored internal depthcharge repo and
branch for early SOC development (before upstreaming SOC and
dephthcharge code).
TEST=Build coreboot and check the repo remote link from:
payloads/external/depthcharge/depthcharge
Signed-off-by: Cliff Huang <cliff.huang@intel.com>
Change-Id: Icca10aa770b7b7a6e010f58bcf1e4f0a3401681a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80726
Reviewed-by: Bora Guvendik <bora.guvendik@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Zhixing Ma <zhixing.ma@intel.com>
Diffstat (limited to 'payloads/external/Makefile.mk')
-rw-r--r-- | payloads/external/Makefile.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/external/Makefile.mk b/payloads/external/Makefile.mk index c87f140da4..f1dc5cc4ad 100644 --- a/payloads/external/Makefile.mk +++ b/payloads/external/Makefile.mk @@ -146,6 +146,8 @@ payloads/external/depthcharge/depthcharge/build/depthcharge.elf depthcharge: $(D $(MAKE) -C payloads/external/depthcharge \ BOARD=$(BOARD) \ MFLAGS= MAKEFLAGS= \ + DEPTHCHARGE_REPO=$(CONFIG_DEPTHCHARGE_REPO) \ + DEPTHCHARGE_BRANCH=$(CONFIG_DEPTHCHARGE_BRANCH) \ DEPTHCHARGE_MASTER=$(CONFIG_DEPTHCHARGE_MASTER) \ DEPTHCHARGE_STABLE=$(CONFIG_DEPTHCHARGE_STABLE) \ DEPTHCHARGE_REVISION=$(CONFIG_DEPTHCHARGE_REVISION) \ |