Sridhar Parasuram | c8f5002 | 2015-12-05 10:36:04 -0800 | [diff] [blame] | 1 | #/* |
Jeevan Shriram | 9f8489e | 2018-03-12 16:45:59 -0700 | [diff] [blame] | 2 | # * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. |
Sridhar Parasuram | c8f5002 | 2015-12-05 10:36:04 -0800 | [diff] [blame] | 3 | # * |
| 4 | # * Redistribution and use in source and binary forms, with or without |
| 5 | # * modification, are permitted provided that the following conditions are |
| 6 | # * met: |
| 7 | # * * Redistributions of source code must retain the above copyright |
| 8 | # * notice, this list of conditions and the following disclaimer. |
| 9 | # * * Redistributions in binary form must reproduce the above |
| 10 | # * copyright notice, this list of conditions and the following |
| 11 | # * disclaimer in the documentation and/or other materials provided |
| 12 | # * with the distribution. |
| 13 | # * * Neither the name of The Linux Foundation nor the names of its |
| 14 | # * contributors may be used to endorse or promote products derived |
| 15 | # * from this software without specific prior written permission. |
| 16 | # * |
| 17 | # * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED |
| 18 | # * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 19 | # * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT |
| 20 | # * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS |
| 21 | # * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 22 | # * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 23 | # * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
| 24 | # * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 25 | # * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| 26 | # * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| 27 | # * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 | #*/ |
| 29 | |
| 30 | |
| 31 | [Defines] |
| 32 | INF_VERSION = 0x00010005 |
| 33 | BASE_NAME = BootLib |
| 34 | FILE_GUID = 48e6f825-676b-41a8-a42d-1b6f111b186f |
| 35 | MODULE_TYPE = BASE |
| 36 | VERSION_STRING = 1.0 |
| 37 | LIBRARY_CLASS = BootLib |
| 38 | |
Venkata Narendra Kumar Gutta | 688a161 | 2018-04-18 17:12:50 -0700 | [diff] [blame] | 39 | [BuildOptions] |
| 40 | GCC:*_*_*_CC_FLAGS = $(LLVM_ENABLE_SAFESTACK) $(LLVM_SAFESTACK_USE_PTR) $(LLVM_SAFESTACK_COLORING) |
| 41 | |
Sridhar Parasuram | c8f5002 | 2015-12-05 10:36:04 -0800 | [diff] [blame] | 42 | [BuildOptions.AARCH64] |
lijuang | 65c51d5 | 2018-03-28 13:52:57 +0800 | [diff] [blame] | 43 | GCC:*_*_*_CC_FLAGS = -O2 $(SDLLVM_COMPILE_ANALYZE) $(SDLLVM_ANALYZE_REPORT) |
Trilok Soni | eb1ca96 | 2017-08-15 17:17:14 -0700 | [diff] [blame] | 44 | GCC:*_*_*_CC_FLAGS = $(UBSAN_UEFI_GCC_FLAG_UNDEFINED) |
| 45 | GCC:*_*_*_CC_FLAGS = $(UBSAN_UEFI_GCC_FLAG_ALIGNMENT) |
| 46 | |
Sridhar Parasuram | c8f5002 | 2015-12-05 10:36:04 -0800 | [diff] [blame] | 47 | [Sources] |
| 48 | ShutdownServices.c |
| 49 | Board.c |
| 50 | BootLinux.c |
| 51 | Decompress.c |
| 52 | LocateDeviceTree.c |
| 53 | UpdateDeviceTree.c |
| 54 | LinuxLoaderLib.c |
| 55 | UpdateCmdLine.c |
Channagoud Kadabi | 947a322 | 2016-02-02 18:51:38 -0800 | [diff] [blame] | 56 | KeyPad.c |
Channagoud Kadabi | 0e698d1 | 2016-04-20 11:39:06 -0700 | [diff] [blame] | 57 | Recovery.c |
Jeevan Shriram | 2ac8496 | 2016-02-29 18:05:29 -0800 | [diff] [blame] | 58 | BootStats.c |
lijuang | c9d156e | 2016-07-27 18:31:00 +0800 | [diff] [blame] | 59 | DrawUI.c |
lijuang | 3ab8e70 | 2016-07-27 19:13:58 +0800 | [diff] [blame] | 60 | MenuKeysDetection.c |
lijuang | 3f2878c | 2016-07-27 19:20:38 +0800 | [diff] [blame] | 61 | UnlockMenu.c |
lijuang | 463e3cb | 2016-07-27 19:26:38 +0800 | [diff] [blame] | 62 | FastbootMenu.c |
lijuang | 593d735 | 2016-07-27 19:31:04 +0800 | [diff] [blame] | 63 | VerifiedBootMenu.c |
Vijay Kumar Pendoti | c34f2b0 | 2016-09-07 20:32:01 +0530 | [diff] [blame] | 64 | PartitionTableUpdate.c |
lijuang | d891cbc | 2016-12-16 20:04:21 +0800 | [diff] [blame] | 65 | DeviceInfo.c |
Mukesh Ojha | a1bd1f8 | 2017-05-25 19:04:21 +0530 | [diff] [blame] | 66 | Rtic.c |
Jeevan Shriram | b2db8ed | 2017-02-03 17:41:55 +0530 | [diff] [blame] | 67 | PartialGoods.c |
Sridhar Parasuram | c8f5002 | 2015-12-05 10:36:04 -0800 | [diff] [blame] | 68 | |
| 69 | [Packages] |
| 70 | ArmPkg/ArmPkg.dec |
| 71 | MdePkg/MdePkg.dec |
| 72 | EmbeddedPkg/EmbeddedPkg.dec |
| 73 | ArmPlatformPkg/ArmPlatformPkg.dec |
| 74 | MdeModulePkg/MdeModulePkg.dec |
| 75 | QcomModulePkg/QcomModulePkg.dec |
| 76 | |
| 77 | [LibraryClasses] |
| 78 | DxeServicesTableLib |
| 79 | UefiLib |
| 80 | CacheMaintenanceLib |
| 81 | Zlib |
| 82 | ArmLib |
| 83 | BaseLib |
| 84 | DebugLib |
| 85 | DevicePathLib |
| 86 | HobLib |
| 87 | PerformanceLib |
| 88 | DebugPrintErrorLevelLib |
| 89 | FdtLib |
| 90 | TimerLib |
Channagoud Kadabi | 08e0afd | 2016-03-31 16:58:09 -0700 | [diff] [blame] | 91 | MemoryAllocationLib |
Jeevan Shriram | 2eb8ded | 2016-08-17 14:35:17 -0700 | [diff] [blame] | 92 | UefiHiiServicesLib |
Jeevan Shriram | 410e7b4 | 2017-01-19 16:43:08 -0800 | [diff] [blame] | 93 | StackCanary |
Shivaprasad Hongal | a2c4dd7 | 2017-04-27 14:33:18 -0700 | [diff] [blame] | 94 | AvbLib |
Trilok Soni | eb1ca96 | 2017-08-15 17:17:14 -0700 | [diff] [blame] | 95 | UbsanLib |
Sridhar Parasuram | c8f5002 | 2015-12-05 10:36:04 -0800 | [diff] [blame] | 96 | |
| 97 | [Guids] |
| 98 | gEfiFileInfoGuid |
| 99 | gEfiSdRemovableGuid |
| 100 | gEfiFileSystemInfoGuid |
| 101 | gEfiPartitionTypeGuid |
| 102 | gEfiEmmcRpmbPartitionGuid |
| 103 | gEfiEmmcGppPartition1Guid |
| 104 | gEfiEmmcUserPartitionGuid |
| 105 | gEfiPlatPartitionTypeGuid |
| 106 | gEfiFileInfoGuid |
| 107 | gEfiGlobalVariableGuid |
| 108 | gEfiLogFSPartitionGuid |
Jeevan Shriram | 749ea92 | 2017-08-15 13:50:12 -0700 | [diff] [blame] | 109 | gEfiNandUserPartitionGuid |
Channagoud Kadabi | 0e698d1 | 2016-04-20 11:39:06 -0700 | [diff] [blame] | 110 | gEfiMiscPartitionGuid |
Vijay Kumar Pendoti | a49a5d7 | 2016-08-27 03:24:04 +0530 | [diff] [blame] | 111 | gEfiUfsLU0Guid |
| 112 | gEfiUfsLU1Guid |
| 113 | gEfiUfsLU2Guid |
| 114 | gEfiUfsLU3Guid |
| 115 | gEfiUfsLU4Guid |
| 116 | gEfiUfsLU5Guid |
| 117 | gEfiUfsLU6Guid |
| 118 | gEfiUfsLU7Guid |
Sridhar Parasuram | c8f5002 | 2015-12-05 10:36:04 -0800 | [diff] [blame] | 119 | |
| 120 | [Protocols] |
| 121 | gEfiSimpleTextInputExProtocolGuid |
| 122 | gEfiBlockIoProtocolGuid |
| 123 | gEfiLoadedImageProtocolGuid |
| 124 | gEfiDevicePathToTextProtocolGuid |
| 125 | gEfiDevicePathProtocolGuid |
| 126 | gEfiDevicePathFromTextProtocolGuid |
| 127 | gEfiSimpleFileSystemProtocolGuid |
| 128 | gEfiLoadFileProtocolGuid |
| 129 | gEfiDiskIoProtocolGuid |
| 130 | gEfiUsbIoProtocolGuid |
| 131 | gEfiPlatformInfoProtocolGuid |
| 132 | gEfiChipInfoProtocolGuid |
| 133 | gQcomPmicVersionProtocolGuid |
| 134 | gEfiMemCardInfoProtocolGuid |
| 135 | gEfiPrint2ProtocolGuid |
| 136 | gEfiPartitionRecordGuid |
| 137 | gEfiRamPartitionProtocolGuid |
Channagoud Kadabi | 4338e36 | 2016-04-13 14:44:36 -0700 | [diff] [blame] | 138 | gEfiResetReasonProtocolGuid |
Rama Aparna Mallavarapu | 755ad9d | 2016-05-17 15:05:32 -0700 | [diff] [blame] | 139 | gQcomPmicPonProtocolGuid |
lijuang | 63e246d | 2017-04-14 10:58:36 +0800 | [diff] [blame] | 140 | gChargerExProtocolGuid |
Runmin Wang | f58d988 | 2016-07-13 14:09:11 -0700 | [diff] [blame] | 141 | gEfiLimitsProtocolGuid |
Jeevan Shriram | 04aad79 | 2016-08-17 13:29:41 -0700 | [diff] [blame] | 142 | gEfiQcomVerifiedBootProtocolGuid |
Vijay Kumar Pendoti | 876ce71 | 2016-09-08 19:56:11 +0530 | [diff] [blame] | 143 | gQcomScmModeSwithProtocolGuid |
Channagoud Kadabi | 54751e5 | 2016-10-18 15:27:13 -0700 | [diff] [blame] | 144 | gQcomRngProtocolGuid |
Reut Zysman | 4a51699 | 2016-12-01 13:00:05 +0200 | [diff] [blame] | 145 | gQcomMdtpProtocolGuid |
Mukesh Ojha | a1bd1f8 | 2017-05-25 19:04:21 +0530 | [diff] [blame] | 146 | gQcomScmProtocolGuid |
Jeevan Shriram | 9f8489e | 2018-03-12 16:45:59 -0700 | [diff] [blame] | 147 | gEfiNandPartiGuidProtocolGuid |
Sridhar Parasuram | c8f5002 | 2015-12-05 10:36:04 -0800 | [diff] [blame] | 148 | |
| 149 | [FixedPcd] |
| 150 | gArmTokenSpaceGuid.PcdSystemMemoryBase |
| 151 | gArmTokenSpaceGuid.PcdSystemMemorySize |
| 152 | gQcomTokenSpaceGuid.KernelLoadAddress |
| 153 | gQcomTokenSpaceGuid.TagsAddress |
| 154 | gQcomTokenSpaceGuid.RamdiskLoadAddress |
Runmin Wang | 566a820 | 2016-07-21 15:23:38 -0700 | [diff] [blame] | 155 | gQcomTokenSpaceGuid.RamdiskEndAddress |
Channagoud Kadabi | 9be68a7 | 2016-02-08 15:18:24 -0800 | [diff] [blame] | 156 | gQcomTokenSpaceGuid.EnablePartialGoods |
lijuang | 3ab8e70 | 2016-07-27 19:13:58 +0800 | [diff] [blame] | 157 | gQcomTokenSpaceGuid.EnableDisplayMenu |
Vijay Kumar Pendoti | 876ce71 | 2016-09-08 19:56:11 +0530 | [diff] [blame] | 158 | gQcomTokenSpaceGuid.KernelLoadAddress32 |
Reut Zysman | 4a51699 | 2016-12-01 13:00:05 +0200 | [diff] [blame] | 159 | gQcomTokenSpaceGuid.EnableMdtpSupport |
Sridhar Parasuram | c8f5002 | 2015-12-05 10:36:04 -0800 | [diff] [blame] | 160 | |
| 161 | [Depex] |
| 162 | TRUE |