diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2022-12-09 21:03:47 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-12-09 14:07:21 +0000 |
commit | 5eb973eb621d77c4a15e88229c7bebb703b87ec7 (patch) | |
tree | ae36aae205d5ff04d6bf10ee82bac8cb9a0053b6 /OvmfPkg/Include | |
parent | 5c25f6c67b12859e9df833aa9027be4ce2a3d942 (diff) | |
download | edk2-5eb973eb621d77c4a15e88229c7bebb703b87ec7.tar.gz edk2-5eb973eb621d77c4a15e88229c7bebb703b87ec7.tar.bz2 edk2-5eb973eb621d77c4a15e88229c7bebb703b87ec7.zip |
OvmfPkg: move dsc include snippet for Network support to Include/Dsc
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'OvmfPkg/Include')
-rw-r--r-- | OvmfPkg/Include/Dsc/NetworkComponents.dsc.inc | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/OvmfPkg/Include/Dsc/NetworkComponents.dsc.inc b/OvmfPkg/Include/Dsc/NetworkComponents.dsc.inc new file mode 100644 index 0000000000..713eec7dd1 --- /dev/null +++ b/OvmfPkg/Include/Dsc/NetworkComponents.dsc.inc @@ -0,0 +1,35 @@ +##
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+##
+
+!if $(NETWORK_ENABLE) == TRUE
+ NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
+ <LibraryClasses>
+ NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
+ }
+
+ !if $(NETWORK_TLS_ENABLE) == TRUE
+ NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
+ <LibraryClasses>
+ NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
+ }
+ !endif
+
+ !if $(NETWORK_IP4_ENABLE) == TRUE
+ NetworkPkg/Ip4Dxe/Ip4Dxe.inf {
+ <LibraryClasses>
+ UefiDriverEntryPoint|OvmfPkg/Library/UefiDriverEntryPointFwCfgOverrideLib/UefiDriverEntryPointFwCfgOverrideLib.inf
+ <PcdsFixedAtBuild>
+ gUefiOvmfPkgTokenSpaceGuid.PcdEntryPointOverrideFwCfgVarName|"opt/org.tianocore/IPv4Support"
+ }
+ !endif
+
+ !if $(NETWORK_IP6_ENABLE) == TRUE
+ NetworkPkg/Ip6Dxe/Ip6Dxe.inf {
+ <LibraryClasses>
+ UefiDriverEntryPoint|OvmfPkg/Library/UefiDriverEntryPointFwCfgOverrideLib/UefiDriverEntryPointFwCfgOverrideLib.inf
+ <PcdsFixedAtBuild>
+ gUefiOvmfPkgTokenSpaceGuid.PcdEntryPointOverrideFwCfgVarName|"opt/org.tianocore/IPv6Support"
+ }
+ !endif
+!endif
|