NetworkPkg.dsc 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. [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|LOONGARCH64
  18. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  19. SKUID_IDENTIFIER = DEFAULT
  20. DEFINE NETWORK_ISCSI_ENABLE = TRUE
  21. !include MdePkg/MdeLibs.dsc.inc
  22. [LibraryClasses]
  23. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  24. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  25. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  26. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  27. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  28. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  29. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  30. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  31. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  32. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  33. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  34. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  35. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  36. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  37. UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
  38. TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
  39. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  40. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  41. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  42. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  43. SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
  44. RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
  45. VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
  46. !ifdef CONTINUOUS_INTEGRATION
  47. BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
  48. TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
  49. !else
  50. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  51. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  52. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  53. TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
  54. !endif
  55. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  56. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  57. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  58. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  59. [LibraryClasses.common.UEFI_DRIVER]
  60. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  61. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  62. DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
  63. [LibraryClasses.common.UEFI_APPLICATION]
  64. DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
  65. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  66. [LibraryClasses.ARM, LibraryClasses.AARCH64]
  67. #
  68. # It is not possible to prevent ARM compiler calls to generic intrinsic functions.
  69. # This library provides the instrinsic functions generated by a given compiler.
  70. # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
  71. #
  72. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  73. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  74. ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
  75. [LibraryClasses.ARM]
  76. RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
  77. [LibraryClasses.RISCV64]
  78. RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
  79. [PcdsFeatureFlag]
  80. gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
  81. gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
  82. [PcdsFixedAtBuild]
  83. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
  84. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
  85. [PcdsDynamicDefault]
  86. gEfiNetworkPkgTokenSpaceGuid.PcdHttpIoTimeout|5000
  87. ###################################################################################################
  88. #
  89. # Components Section - list of the modules and components that will be processed by compilation
  90. # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
  91. #
  92. # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
  93. # into firmware volume images. This section is just a list of modules to compile from
  94. # source into UEFI-compliant binaries.
  95. # It is the FDF file that contains information on combining binary files into firmware
  96. # volume images, whose concept is beyond UEFI and is described in PI specification.
  97. # Binary modules do not need to be listed in this section, as they should be
  98. # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
  99. # Logo (Logo.bmp), and etc.
  100. # There may also be modules listed in this section that are not required in the FDF file,
  101. # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
  102. # generated for it, but the binary will not be put into any firmware volume.
  103. #
  104. ###################################################################################################
  105. [Components]
  106. NetworkPkg/WifiConnectionManagerDxe/WifiConnectionManagerDxe.inf
  107. NetworkPkg/Application/VConfig/VConfig.inf
  108. NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf
  109. NetworkPkg/Library/DxeHttpLib/DxeHttpLib.inf
  110. NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.inf
  111. NetworkPkg/Library/DxeIpIoLib/DxeIpIoLib.inf
  112. NetworkPkg/Library/DxeNetLib/DxeNetLib.inf
  113. NetworkPkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
  114. NetworkPkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
  115. !include NetworkPkg/Network.dsc.inc
  116. [BuildOptions]
  117. *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES