summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/NetworkFixedPcds.dsc.inc
diff options
context:
space:
mode:
authorAleksandr Goncharov <chat@joursoir.net>2024-09-20 11:56:13 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-11-11 13:38:51 +0000
commitfc9f06de6f7d4dcdf19c2fbfd71303df5dd1b8fa (patch)
tree459ce77430beb55de1327150155b42cca7ca58f3 /NetworkPkg/NetworkFixedPcds.dsc.inc
parent9cab9905afdeff7c78785c39c3b4212d9bf3a9c0 (diff)
downloadedk2-fc9f06de6f7d4dcdf19c2fbfd71303df5dd1b8fa.tar.gz
edk2-fc9f06de6f7d4dcdf19c2fbfd71303df5dd1b8fa.tar.bz2
edk2-fc9f06de6f7d4dcdf19c2fbfd71303df5dd1b8fa.zip
NetworkPkg: mark fixed network PCDs
Rename `NetworkPcds` to `NetworkFixedPcds` to avoid confusion with dynamic PCDs. The next patches in the chain will update all references across the codebase to use the new name. Cc: Saloni Kasbekar <saloni.kasbekar@intel.com> Cc: Zachary Clark-williams <zachary.clark-williams@intel.com> Signed-off-by: Aleksandr Goncharov <chat@joursoir.net>
Diffstat (limited to 'NetworkPkg/NetworkFixedPcds.dsc.inc')
-rw-r--r--NetworkPkg/NetworkFixedPcds.dsc.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/NetworkPkg/NetworkFixedPcds.dsc.inc b/NetworkPkg/NetworkFixedPcds.dsc.inc
new file mode 100644
index 0000000000..08c8e32de8
--- /dev/null
+++ b/NetworkPkg/NetworkFixedPcds.dsc.inc
@@ -0,0 +1,16 @@
+## @file
+# Network DSC include file for [PcdsFixed*] section of all Architectures.
+#
+# This file can be included to the [PcdsFixed*] section(s) of a platform DSC file
+# by using "!include NetworkPkg/NetworkFixedPcds.dsc.inc" to specify PCD settings
+# according to the value of flags described in "NetworkDefines.dsc.inc".
+#
+# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+##
+
+!if ($(NETWORK_ENABLE) == TRUE) AND ($(NETWORK_ALLOW_HTTP_CONNECTIONS) == TRUE)
+ gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
+!endif