summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NetworkPkg/Network.dsc.inc3
-rw-r--r--NetworkPkg/NetworkDynamicPcds.dsc.inc20
2 files changed, 23 insertions, 0 deletions
diff --git a/NetworkPkg/Network.dsc.inc b/NetworkPkg/Network.dsc.inc
index 04b515a0bb..42420866b7 100644
--- a/NetworkPkg/Network.dsc.inc
+++ b/NetworkPkg/Network.dsc.inc
@@ -28,6 +28,9 @@
[PcdsFixedAtBuild]
!include NetworkPkg/NetworkPcds.dsc.inc
+[PcdsDynamicDefault]
+!include NetworkPkg/NetworkDynamicPcds.dsc.inc
+
[LibraryClasses]
!include NetworkPkg/NetworkLibs.dsc.inc
diff --git a/NetworkPkg/NetworkDynamicPcds.dsc.inc b/NetworkPkg/NetworkDynamicPcds.dsc.inc
new file mode 100644
index 0000000000..50bb4f9368
--- /dev/null
+++ b/NetworkPkg/NetworkDynamicPcds.dsc.inc
@@ -0,0 +1,20 @@
+## @file
+# Network DSC include file for [PcdsDynamic*] section of all Architectures.
+#
+# This file can be included to the [PcdsDynamic*] section(s) of a platform DSC file
+# by using "!include NetworkPkg/NetworkDynamicPcds.dsc.inc" to specify PCD settings
+# according to the value of flags described in "NetworkDefines.dsc.inc".
+#
+# Copyright (c) 2024, Aleksandr Goncharov. All rights reserved.<BR>
+#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+##
+
+#
+# IPv4 and IPv6 PXE Boot support.
+#
+!if $(NETWORK_ENABLE) == TRUE
+ gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
+ gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
+!endif