diff options
author | Fu Siyuan <siyuan.fu@intel.com> | 2017-02-22 16:14:09 +0800 |
---|---|---|
committer | Fu Siyuan <siyuan.fu@intel.com> | 2017-02-28 14:11:07 +0800 |
commit | c628d65d2f8f8bea28d6bbbd0882af28ef35b961 (patch) | |
tree | dadaf023de31da4bba89ca43640bcb8a78dfaf2f /Nt32Pkg/Nt32Pkg.dsc | |
parent | 9f5ca5efbd0bb00c9d3577b95e6322e85cb0b118 (diff) | |
download | edk2-c628d65d2f8f8bea28d6bbbd0882af28ef35b961.tar.gz edk2-c628d65d2f8f8bea28d6bbbd0882af28ef35b961.tar.bz2 edk2-c628d65d2f8f8bea28d6bbbd0882af28ef35b961.zip |
Nt32Pkg: Add build flag to enable or disable IPv6 network stack.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'Nt32Pkg/Nt32Pkg.dsc')
-rw-r--r-- | Nt32Pkg/Nt32Pkg.dsc | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/Nt32Pkg/Nt32Pkg.dsc b/Nt32Pkg/Nt32Pkg.dsc index 499b1fe8ab..8927dcd125 100644 --- a/Nt32Pkg/Nt32Pkg.dsc +++ b/Nt32Pkg/Nt32Pkg.dsc @@ -71,6 +71,13 @@ #
DEFINE ALLOW_HTTP_CONNECTIONS = TRUE
+ #
+ # This flag is to enable or disable IPv6 network stack.
+ # These can be changed on the command line.
+ # -D FLAG=VALUE
+ #
+ DEFINE NETWORK_IP6_ENABLE = FALSE
+
################################################################################
#
# SKU Identification section - list of all SKU IDs supported by this
@@ -135,6 +142,7 @@ NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
+ TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
@@ -462,12 +470,22 @@ MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
- MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
- MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
Nt32Pkg/SnpNt32Dxe/SnpNt32Dxe.inf
+!if $(NETWORK_IP6_ENABLE) == TRUE
+ NetworkPkg/Ip6Dxe/Ip6Dxe.inf
+ NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
+ NetworkPkg/TcpDxe/TcpDxe.inf
+ NetworkPkg/Udp6Dxe/Udp6Dxe.inf
+ NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
+ NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
+ NetworkPkg/IScsiDxe/IScsiDxe.inf
+!else
+ MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
+ MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
+!endif
NetworkPkg/HttpBootDxe/HttpBootDxe.inf
NetworkPkg/DnsDxe/DnsDxe.inf
|