]> git.proxmox.com Git - mirror_edk2.git/blob - NetworkPkg/NetworkPkg.dsc
NetworkPkg: Add the missing VariablePolicyHelperLib in NetworkPkg.dsc
[mirror_edk2.git] / NetworkPkg / NetworkPkg.dsc
1 ## @file
2 # UEFI 2.4 Network Module Package for All Architectures
3 #
4 # (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
5 # Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.<BR>
6 # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
8 #
9 ##
10
11 [Defines]
12 PLATFORM_NAME = NetworkPkg
13 PLATFORM_GUID = 3FD34E9B-E90C-44e1-B510-1F632A509F10
14 PLATFORM_VERSION = 0.98
15 DSC_SPECIFICATION = 0x00010005
16 OUTPUT_DIRECTORY = Build/NetworkPkg
17 SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64
18 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
19 SKUID_IDENTIFIER = DEFAULT
20
21 DEFINE NETWORK_ISCSI_ENABLE = TRUE
22
23 !include MdePkg/MdeLibs.dsc.inc
24
25 [LibraryClasses]
26 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
27 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
28 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
29 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
30 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
31 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
32 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
33 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
34 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
35 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
36 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
37 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
38 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
39 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
40 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
41 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
42 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
43 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
44 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
45 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
46 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
47 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
48 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
49
50 !ifdef CONTINUOUS_INTEGRATION
51 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
52 TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
53 !else
54 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
55 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
56 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
57 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
58 !endif
59 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
60 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
61 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
62 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
63
64 [LibraryClasses.common.UEFI_DRIVER]
65 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
66 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
67 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
68
69 [LibraryClasses.common.UEFI_APPLICATION]
70 DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
71 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
72
73 [LibraryClasses.ARM, LibraryClasses.AARCH64]
74 #
75 # It is not possible to prevent ARM compiler calls to generic intrinsic functions.
76 # This library provides the instrinsic functions generated by a given compiler.
77 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
78 #
79 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
80 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
81 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
82
83 [LibraryClasses.ARM]
84 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
85
86 [LibraryClasses.RISCV64]
87 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
88
89 [PcdsFeatureFlag]
90 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
91 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
92
93 [PcdsFixedAtBuild]
94 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
95 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
96
97 [PcdsDynamicDefault]
98 gEfiNetworkPkgTokenSpaceGuid.PcdHttpIoTimeout|5000
99
100 ###################################################################################################
101 #
102 # Components Section - list of the modules and components that will be processed by compilation
103 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
104 #
105 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
106 # into firmware volume images. This section is just a list of modules to compile from
107 # source into UEFI-compliant binaries.
108 # It is the FDF file that contains information on combining binary files into firmware
109 # volume images, whose concept is beyond UEFI and is described in PI specification.
110 # Binary modules do not need to be listed in this section, as they should be
111 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
112 # Logo (Logo.bmp), and etc.
113 # There may also be modules listed in this section that are not required in the FDF file,
114 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
115 # generated for it, but the binary will not be put into any firmware volume.
116 #
117 ###################################################################################################
118
119 [Components]
120 NetworkPkg/WifiConnectionManagerDxe/WifiConnectionManagerDxe.inf
121 NetworkPkg/Application/VConfig/VConfig.inf
122 NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf
123 NetworkPkg/Library/DxeHttpLib/DxeHttpLib.inf
124 NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.inf
125 NetworkPkg/Library/DxeIpIoLib/DxeIpIoLib.inf
126 NetworkPkg/Library/DxeNetLib/DxeNetLib.inf
127 NetworkPkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
128 NetworkPkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
129
130 !include NetworkPkg/Network.dsc.inc
131
132 [BuildOptions]
133 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES