mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2917 Add NETWORK_HTTP_ENABLE macro and separate HttpDxe and HttpUtilitiesDxe drivers from HTTP_NETWORK_HTTP_BOOT_ENABLE macro. Current NETWORK_HTTP_BOOT_ENABLE macro is defined to enable HTTP boot feature in POST, this macro is not only enabling HTTP Boot related modules but also enabling other generic HTTP modules such as HttpDxe, HttpUtilitiesDxe and DnsDxe. These HTTP base drivers would not be only used by HTTP boot when we introduce the use case of Redfish implementation over HTTP to edk2. We should have a dedicate macro to enable generic HTTP functions on Network stack and additionally provide NETWORK_HTTP_BOOT_ENABLE for HTTP boot functionality for the use case that platform doesn't require HTTP boot. Signed-off-by: Abner Chang <abner.chang@hpe.com> Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Nickle Wang <nickle.wang@hpe.com> Cc: Peter O'Hanley <peter.ohanley@hpe.com> Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
65 lines
1.8 KiB
PHP
65 lines
1.8 KiB
PHP
## @file
|
|
# Network DSC include file for [Components*] section of all Architectures.
|
|
#
|
|
# This file can be included to the [Components*] section(s) of a platform DSC file
|
|
# by using "!include NetworkPkg/NetworkComponents.dsc.inc" to specify the INF files
|
|
# of EDKII network drivers 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
|
|
NetworkPkg/DpcDxe/DpcDxe.inf
|
|
|
|
!if $(NETWORK_SNP_ENABLE) == TRUE
|
|
NetworkPkg/SnpDxe/SnpDxe.inf
|
|
!endif
|
|
|
|
!if $(NETWORK_VLAN_ENABLE) == TRUE
|
|
NetworkPkg/VlanConfigDxe/VlanConfigDxe.inf
|
|
!endif
|
|
|
|
NetworkPkg/MnpDxe/MnpDxe.inf
|
|
|
|
!if $(NETWORK_IP4_ENABLE) == TRUE
|
|
NetworkPkg/ArpDxe/ArpDxe.inf
|
|
NetworkPkg/Dhcp4Dxe/Dhcp4Dxe.inf
|
|
NetworkPkg/Ip4Dxe/Ip4Dxe.inf
|
|
NetworkPkg/Udp4Dxe/Udp4Dxe.inf
|
|
NetworkPkg/Mtftp4Dxe/Mtftp4Dxe.inf
|
|
!endif
|
|
|
|
!if $(NETWORK_IP6_ENABLE) == TRUE
|
|
NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
|
|
NetworkPkg/Ip6Dxe/Ip6Dxe.inf
|
|
NetworkPkg/Udp6Dxe/Udp6Dxe.inf
|
|
NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
|
|
!endif
|
|
|
|
NetworkPkg/TcpDxe/TcpDxe.inf
|
|
NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
|
|
|
|
!if $(NETWORK_TLS_ENABLE) == TRUE
|
|
NetworkPkg/TlsDxe/TlsDxe.inf
|
|
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
|
|
!endif
|
|
|
|
!if ($(NETWORK_HTTP_BOOT_ENABLE) == TRUE) OR ($(NETWORK_HTTP_ENABLE) == TRUE)
|
|
NetworkPkg/DnsDxe/DnsDxe.inf
|
|
NetworkPkg/HttpDxe/HttpDxe.inf
|
|
NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
|
|
!endif
|
|
|
|
!if $(NETWORK_HTTP_BOOT_ENABLE) == TRUE
|
|
NetworkPkg/HttpBootDxe/HttpBootDxe.inf
|
|
!endif
|
|
|
|
!if $(NETWORK_ISCSI_ENABLE) == TRUE
|
|
NetworkPkg/IScsiDxe/IScsiDxe.inf
|
|
!endif
|
|
!endif
|