NetworkPkg.dsc 6.6 KB

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