summaryrefslogtreecommitdiff
path: root/OvmfPkg/Include/Dsc
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2022-12-09 21:03:47 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-12-09 14:07:21 +0000
commit5eb973eb621d77c4a15e88229c7bebb703b87ec7 (patch)
treeae36aae205d5ff04d6bf10ee82bac8cb9a0053b6 /OvmfPkg/Include/Dsc
parent5c25f6c67b12859e9df833aa9027be4ce2a3d942 (diff)
downloadedk2-5eb973eb621d77c4a15e88229c7bebb703b87ec7.zip
edk2-5eb973eb621d77c4a15e88229c7bebb703b87ec7.tar.gz
edk2-5eb973eb621d77c4a15e88229c7bebb703b87ec7.tar.bz2
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/Dsc')
-rw-r--r--OvmfPkg/Include/Dsc/NetworkComponents.dsc.inc35
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 0000000..713eec7
--- /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