OvmfPkg: add ShellLibs.dsc.inc

Move EFI Shell libraries from OvmfPkgX64.dsc to
the new ShellComponents.dsc.inc include file.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Jiewen Yao <Jiewen.yao@intel.com>
Message-Id: <20240222101358.67818-3-kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2024-02-22 11:13:48 +01:00 committed by mergify[bot]
parent 2cb466cc2c
commit efca2c6cfc
2 changed files with 11 additions and 3 deletions

View File

@ -0,0 +1,10 @@
##
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
!if $(BUILD_SHELL) == TRUE
[LibraryClasses]
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
!endif

View File

@ -258,9 +258,6 @@
TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
!endif
!if $(BUILD_SHELL) == TRUE
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
!endif
ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
@ -268,6 +265,7 @@
OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
!include OvmfPkg/Include/Dsc/OvmfTpmLibs.dsc.inc
!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
[LibraryClasses.common]
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf