1 | ## @file
|
---|
2 | # Flat Device Tree Table Build Library.
|
---|
3 | #
|
---|
4 | # Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
|
---|
5 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 | #
|
---|
7 | ##
|
---|
8 |
|
---|
9 | [Defines]
|
---|
10 | INF_VERSION = 0x00010005
|
---|
11 | BASE_NAME = BuildFdtLib
|
---|
12 | FILE_GUID = 5DA69A29-C990-49EE-A4E6-BA5311A1ADAF
|
---|
13 | MODULE_TYPE = BASE
|
---|
14 | VERSION_STRING = 1.0
|
---|
15 | LIBRARY_CLASS = BuildFdtLib
|
---|
16 |
|
---|
17 |
|
---|
18 | #
|
---|
19 | # The following information is for reference only and not required by the build tools.
|
---|
20 | #
|
---|
21 | # VALID_ARCHITECTURES = IA32 X64
|
---|
22 | #
|
---|
23 |
|
---|
24 | [Sources]
|
---|
25 | X86_BuildFdtLib.c
|
---|
26 |
|
---|
27 | [Packages]
|
---|
28 | MdePkg/MdePkg.dec
|
---|
29 | MdeModulePkg/MdeModulePkg.dec
|
---|
30 | UefiPayloadPkg/UefiPayloadPkg.dec
|
---|
31 |
|
---|
32 | [LibraryClasses]
|
---|
33 | DebugLib
|
---|
34 | PcdLib
|
---|
35 | HobLib
|
---|
36 | FdtLib
|
---|
37 |
|
---|
38 | [Guids]
|
---|
39 | gUniversalPayloadDeviceTreeGuid
|
---|
40 | gEfiGraphicsInfoHobGuid
|
---|
41 | gEfiGraphicsDeviceInfoHobGuid
|
---|
42 | gUniversalPayloadAcpiTableGuid
|
---|
43 | gUniversalPayloadSerialPortInfoGuid
|
---|
44 | gEfiHobMemoryAllocModuleGuid
|
---|
45 | gEfiHobMemoryAllocStackGuid
|
---|
46 | gEfiHobMemoryAllocBspStoreGuid
|
---|
47 |
|
---|
48 | [Pcd]
|
---|
49 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase
|
---|
50 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate
|
---|
51 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride
|
---|
52 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio
|
---|
53 | gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
|
---|
54 |
|
---|
55 | [Ppis]
|
---|
56 | gEdkiiPeiPciDevicePpiGuid ## CONSUMES
|
---|
57 |
|
---|
58 | [BuildOptions]
|
---|
59 | MSFT:*_*_*_CC_FLAGS = /wd4305
|
---|
60 | GCC:*_*_IA32_CC_FLAGS = -Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast
|
---|
61 | GCC:*_*_X64_CC_FLAGS = -Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast
|
---|
62 | GCC:*_*_ARM_CC_FLAGS = -Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast
|
---|
63 | GCC:*_*_AARCH64_CC_FLAGS = -Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast
|
---|
64 | GCC:*_*_RISCV64_CC_FLAGS = -Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast
|
---|
65 | GCC:*_*_LOONGARCH64_CC_FLAGS = -Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast
|
---|