VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/NetworkPkg.dsc@ 108794

Last change on this file since 108794 was 108794, checked in by vboxsync, 3 weeks ago

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

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

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette