-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ArmVirtPkg: Use OvmfPkg/Include/*/Shell*.inc
While fixing (#6092) the fact that some OvmfPkg and ArmVirtPkg platforms included residual NetworkPkg components even when compiled with -D NETWORK_ENABLE=0, it was noted that OvmfPkg/Include/*/Shell*.inc files which already applied this fix logic are available and already used in some OvmfPkg platforms. This commit applies these files within ArmVirtPkg. This has the side effects that: - Some platforms now include one or more of HttpDynamicCommand, VariablePolicyDynamicCommand and LinuxInitrdDynamicShellCommand when they previously did not - Whether the UEFI Shell is included (by ShellDxe.fdf.inc) depends on whether Secure Boot is enabled (on those platforms which support enabling secure boot) To address the second issue, in a related commit to OvmfPkg we have added ShellDefines.dsc.inc, which is also applied here, which defaults BUILD_SHELL to FALSE when SECURE_BOOT_ENABLE is TRUE and vice versa, and then modified ShellDxe.fdf.inc so that it conditionally includes shell components only depending on BUILD_SHELL. We additionally enable UEFI Shell in the CI matrix for those tests which rely on UEFI Shell being present with Secure Boot enabled. Signed-off-by: Mike Beaton <[email protected]>
- Loading branch information
1 parent
591760f
commit bd25067
Showing
6 changed files
with
14 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters