]> git.proxmox.com Git - mirror_edk2.git/blob - NetworkPkg/NetworkPkg.dsc
8691a0f5d07ace58593369e1c1407c345e4ce4f7
[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
49 !ifdef CONTINUOUS_INTEGRATION
50 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
51 TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
52 !else
53 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
54 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
55 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
56 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
57 !endif
58 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
59 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
60 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
61 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
62
63 [LibraryClasses.common.UEFI_DRIVER]
64 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
65 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
66 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
67
68 [LibraryClasses.common.UEFI_APPLICATION]
69 DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
70 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
71
72 [LibraryClasses.ARM, LibraryClasses.AARCH64]
73 #
74 # It is not possible to prevent ARM compiler calls to generic intrinsic functions.
75 # This library provides the instrinsic functions generated by a given compiler.
76 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
77 #
78 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
79 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
80 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
81
82 [LibraryClasses.ARM]
83 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
84
85 [LibraryClasses.RISCV64]
86 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
87
88 [PcdsFeatureFlag]
89 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
90 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
91
92 [PcdsFixedAtBuild]
93 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
94 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
95
96 [PcdsDynamicDefault]
97 gEfiNetworkPkgTokenSpaceGuid.PcdHttpIoTimeout|5000
98
99 ###################################################################################################
100 #
101 # Components Section - list of the modules and components that will be processed by compilation
102 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
103 #
104 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
105 # into firmware volume images. This section is just a list of modules to compile from
106 # source into UEFI-compliant binaries.
107 # It is the FDF file that contains information on combining binary files into firmware
108 # volume images, whose concept is beyond UEFI and is described in PI specification.
109 # Binary modules do not need to be listed in this section, as they should be
110 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
111 # Logo (Logo.bmp), and etc.
112 # There may also be modules listed in this section that are not required in the FDF file,
113 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
114 # generated for it, but the binary will not be put into any firmware volume.
115 #
116 ###################################################################################################
117
118 [Components]
119 NetworkPkg/WifiConnectionManagerDxe/WifiConnectionManagerDxe.inf
120 NetworkPkg/Application/VConfig/VConfig.inf
121 NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf
122 NetworkPkg/Library/DxeHttpLib/DxeHttpLib.inf
123 NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.inf
124 NetworkPkg/Library/DxeIpIoLib/DxeIpIoLib.inf
125 NetworkPkg/Library/DxeNetLib/DxeNetLib.inf
126 NetworkPkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
127 NetworkPkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
128
129 !include NetworkPkg/Network.dsc.inc
130
131 [BuildOptions]
132 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES