VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/NetworkPkg.dsc

Last change on this file was 105670, checked in by vboxsync, 3 months ago

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

  • Property svn:eol-style set to native
File size: 6.6 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, LibraryClasses.AARCH64]
75 #
76 # It is not possible to prevent ARM compiler calls to generic intrinsic functions.
77 # This library provides the instrinsic functions generated by a given compiler.
78 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
79 #
80 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
81 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
82 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
83
84[LibraryClasses.ARM]
85 RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
86
87[LibraryClasses.RISCV64]
88 RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
89
90[PcdsFeatureFlag]
91 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
92 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
93
94[PcdsFixedAtBuild]
95 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
96 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
97
98[PcdsDynamicDefault]
99 gEfiNetworkPkgTokenSpaceGuid.PcdHttpIoTimeout|5000
100
101###################################################################################################
102#
103# Components Section - list of the modules and components that will be processed by compilation
104# tools and the EDK II tools to generate PE32/PE32+/Coff image files.
105#
106# Note: The EDK II DSC file is not used to specify how compiled binary images get placed
107# into firmware volume images. This section is just a list of modules to compile from
108# source into UEFI-compliant binaries.
109# It is the FDF file that contains information on combining binary files into firmware
110# volume images, whose concept is beyond UEFI and is described in PI specification.
111# Binary modules do not need to be listed in this section, as they should be
112# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
113# Logo (Logo.bmp), and etc.
114# There may also be modules listed in this section that are not required in the FDF file,
115# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
116# generated for it, but the binary will not be put into any firmware volume.
117#
118###################################################################################################
119
120[Components]
121 NetworkPkg/WifiConnectionManagerDxe/WifiConnectionManagerDxe.inf
122 NetworkPkg/Application/VConfig/VConfig.inf
123 NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf
124 NetworkPkg/Library/DxeHttpLib/DxeHttpLib.inf
125 NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.inf
126 NetworkPkg/Library/DxeIpIoLib/DxeIpIoLib.inf
127 NetworkPkg/Library/DxeNetLib/DxeNetLib.inf
128 NetworkPkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
129 NetworkPkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
130
131 !include NetworkPkg/Network.dsc.inc
132
133[BuildOptions]
134 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
Note: See TracBrowser for help on using the repository browser.

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