DisplayLinkPkg.dsc 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #/** @file
  2. #
  3. # Copyright (c) 2018-2019, DisplayLink (UK) Ltd. All rights reserved.
  4. #
  5. # SPDX-License-Identifier: BSD-2-Clause-Patent
  6. #
  7. #**/
  8. [Defines]
  9. PLATFORM_NAME = DisplayLinkPkg
  10. PLATFORM_GUID = ad3b37b0-f798-4f97-9b3f-0c6f43d7c993
  11. PLATFORM_VERSION = 0.1
  12. DSC_SPECIFICATION = 0x0001001C
  13. OUTPUT_DIRECTORY = Build/DisplayLink
  14. SUPPORTED_ARCHITECTURES = X64|IA32|AARCH64|ARM
  15. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  16. SKUID_IDENTIFIER = DEFAULT
  17. !include MdePkg/MdeLibs.dsc.inc
  18. [LibraryClasses]
  19. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  20. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  21. DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
  22. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  23. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  24. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  25. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  26. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  27. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  28. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  29. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  30. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  31. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  32. [LibraryClasses.common.UEFI_DRIVER]
  33. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  34. [LibraryClasses.AARCH64]
  35. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  36. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  37. [LibraryClasses.ARM]
  38. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  39. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  40. [PcdsFixedAtBuild]
  41. !ifdef $(DEBUG_ENABLE_OUTPUT)
  42. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x3f
  43. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080043 # Flags to control amount of debug output - see https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Debugging
  44. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  45. !endif
  46. [Components]
  47. Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkGop/DisplayLinkGopDxe.inf
  48. [BuildOptions]
  49. *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES -D INF_DRIVER_VERSION=$(INF_DRIVER_VERSION)
  50. GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
  51. MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
  52. !ifdef $(COPY_PIXELS_FROM_PRIMARY_GOP_DEVICE)
  53. *_*_*_CC_FLAGS = -D COPY_PIXELS_FROM_PRIMARY_GOP_DEVICE
  54. !endif