summaryrefslogtreecommitdiff
path: root/payloads/external/edk2/Kconfig
diff options
context:
space:
mode:
authorMichał Żygowski <michal.zygowski@3mdeb.com>2022-10-26 11:32:54 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-04-06 14:06:01 +0000
commit82d814a71a3be4b51b9b9f62e5124dcf75867bd0 (patch)
tree958098bb90c40ee3699b22f6a70614e8175b215a /payloads/external/edk2/Kconfig
parentf63cdcffbfb426788d5c43a9d222053fdad4563f (diff)
payloads/external/edk2: Add option to clone edk2-platforms repo
Add possibility to clone edk2-platforms repository. Some edk2 repositories may use modules from edk2-platforms which contains various feature packages for Intel platforms, e.g VT-d driver if DMA protection is enabled. Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Change-Id: Iabd0793dfdcb95260046dc992ff30ef581159db9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68872 Reviewed-by: Krystian Hebel <krystian.hebel@3mdeb.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/external/edk2/Kconfig')
-rw-r--r--payloads/external/edk2/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/payloads/external/edk2/Kconfig b/payloads/external/edk2/Kconfig
index 454aef0069..e3bb157cac 100644
--- a/payloads/external/edk2/Kconfig
+++ b/payloads/external/edk2/Kconfig
@@ -61,6 +61,30 @@ config EDK2_TAG_OR_REV
EDK2_REPOSITORY, and in the case of a branch name, prefixed with origin i.e.
"origin/uefipayload_202202"
+config EDK2_USE_EDK2_PLATFORMS
+ bool "Use edk2-platforms repository"
+ default n
+ help
+ Clone edk2-platforms repository to the edk2 workspace for additional modules.
+
+if EDK2_USE_EDK2_PLATFORMS
+
+config EDK2_PLATFORMS_REPOSITORY
+ string "URL to git repository for edk2-platforms"
+ default "https://github.com/tianocore/edk2-platforms"
+ help
+ URL to the edk2-platfors repository to clone.
+
+config EDK2_PLATFORMS_TAG_OR_REV
+ string "Insert a commit's SHA-1 or a branch name"
+ default "origin/master"
+ help
+ The commit's SHA-1 or branch name of the revision to use. This must exist in
+ EDK2_PLATFORMS_REPOSITORY, and in the case of a branch name, prefixed with
+ origin i.e. "origin/master"
+
+endif
+
choice
prompt "edk2 build"
default EDK2_RELEASE