The TableHelperLib contains helper functions. Some rely on DynamicTablesPkg definitions (they use Configuration Manager objects). Some others are more generic. To allow using these generic functions without including DynamicTablesPkg definitions, move them to a new AcpiHelperLib library. Reviewed-by: Sami Mujawar <sami.mujawar@arm.com> Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
55 lines
2.1 KiB
Plaintext
55 lines
2.1 KiB
Plaintext
## @file
|
|
# Dsc file for Dynamic Tables Framework.
|
|
#
|
|
# Copyright (c) 2019, Linaro Limited. All rights reserved.<BR>
|
|
# Copyright (c) 2019 - 2020, Arm Limited. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
PLATFORM_NAME = DynamicTables
|
|
PLATFORM_GUID = f39096a0-7a0a-442a-9413-cf584ef80cbb
|
|
PLATFORM_VERSION = 0.1
|
|
DSC_SPECIFICATION = 0x0001001a
|
|
OUTPUT_DIRECTORY = Build/DynamicTables
|
|
SUPPORTED_ARCHITECTURES = ARM|AARCH64
|
|
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
|
|
!include DynamicTables.dsc.inc
|
|
|
|
!include MdePkg/MdeLibs.dsc.inc
|
|
|
|
[LibraryClasses]
|
|
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
|
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
|
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
|
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
|
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
|
|
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
|
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
|
|
|
|
[Components.common]
|
|
DynamicTablesPkg/Library/Common/AcpiHelperLib/AcpiHelperLib.inf
|
|
DynamicTablesPkg/Library/Common/AmlLib/AmlLib.inf
|
|
DynamicTablesPkg/Library/Common/SsdtSerialPortFixupLib/SsdtSerialPortFixupLib.inf
|
|
DynamicTablesPkg/Library/Common/TableHelperLib/TableHelperLib.inf
|
|
|
|
[BuildOptions]
|
|
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|
|
|
|
!ifdef STATIC_ANALYSIS
|
|
# Check all rules
|
|
# Inhibit C6305: Potential mismatch between sizeof and countof quantities.
|
|
*_VS2017_*_CC_FLAGS = /wd6305 /analyze
|
|
!endif
|
|
|