NetworkPkg.dsc 6.2 KB

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