blob: be4d6ee6b45e3461fa6be7f973dfe19f5a190a7b [file] [log] [blame]
Shivaprasad Hongala2c4dd72017-04-27 14:33:18 -07001#/*
Zhen Kongbb3db752017-07-10 17:07:10 -07002# * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
Shivaprasad Hongala2c4dd72017-04-27 14:33:18 -07003# *
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 = AvbLib
34 FILE_GUID = 4290415d-a219-41c2-8c00-31382eeb1d86
35 MODULE_TYPE = BASE
36 VERSION_STRING = 1.0
37 LIBRARY_CLASS = AvbLib
38
Jeevan Shriram7bc16d22017-05-22 08:59:55 -070039[BuildOptions]
Shivaprasad Hongala2c4dd72017-04-27 14:33:18 -070040 GCC:*_*_*_CC_FLAGS = -DAVB_COMPILATION -DAVB_ENABLE_DEBUG
Venkata Narendra Kumar Gutta688a1612018-04-18 17:12:50 -070041 GCC:*_*_*_CC_FLAGS = $(LLVM_ENABLE_SAFESTACK) $(LLVM_SAFESTACK_USE_PTR) $(LLVM_SAFESTACK_COLORING)
Shivaprasad Hongala2c4dd72017-04-27 14:33:18 -070042
lijuang35adede2017-07-27 20:52:45 +080043[BuildOptions.AARCH64]
lijuang65c51d52018-03-28 13:52:57 +080044 GCC:*_*_*_CC_FLAGS = $(SDLLVM_COMPILE_ANALYZE) $(SDLLVM_ANALYZE_REPORT)
lijuang35adede2017-07-27 20:52:45 +080045
Shivaprasad Hongala2c4dd72017-04-27 14:33:18 -070046[Sources]
Shivaprasad Hongal3860bbf2017-04-27 17:40:13 -070047 libavb/avb_chain_partition_descriptor.c
48 libavb/avb_crc32.c
49 libavb/avb_crypto.c
50 libavb/avb_descriptor.c
51 libavb/avb_footer.c
52 libavb/avb_hash_descriptor.c
53 libavb/avb_hashtree_descriptor.c
54 libavb/avb_kernel_cmdline_descriptor.c
55 libavb/avb_property_descriptor.c
56 libavb/avb_rsa.c
Shivaprasad Hongal3860bbf2017-04-27 17:40:13 -070057 libavb/avb_sha512.c
58 libavb/avb_slot_verify.c
59 libavb/avb_sysdeps.c
60 libavb/avb_util.c
61 libavb/avb_vbmeta_image.c
62 libavb/avb_version.c
63 libavb/avb_ops.c
Shivaprasad Hongala2c4dd72017-04-27 14:33:18 -070064 VerifiedBoot.c
Shivaprasad Hongal3860bbf2017-04-27 17:40:13 -070065 KeymasterClient.c
Shivaprasad Hongal8835ce92017-05-09 15:14:13 -070066 Hash2Client.c
Shivaprasad Hongala2c4dd72017-04-27 14:33:18 -070067
68[Packages]
69 ArmPkg/ArmPkg.dec
70 MdePkg/MdePkg.dec
71 EmbeddedPkg/EmbeddedPkg.dec
72 ArmPlatformPkg/ArmPlatformPkg.dec
73 MdeModulePkg/MdeModulePkg.dec
74 QcomModulePkg/QcomModulePkg.dec
75
76[LibraryClasses]
77 DxeServicesTableLib
78 UefiLib
79 ArmLib
80 BaseLib
81 DebugLib
82 DevicePathLib
83 DebugPrintErrorLevelLib
84 FdtLib
85 MemoryAllocationLib
86
87
88[Guids]
AnilKumar Chimata681e0f42018-01-19 17:47:56 -080089 gEfiVbmetaPartitionGuid
90 gEfiBootImgPartitionGuid
91 gEfiDtboPartitionGuid
92 gEfiRecoveryImgPartitionGuid
Shivaprasad Hongala2c4dd72017-04-27 14:33:18 -070093
94[Protocols]
Shivaprasad Hongale3b53392017-04-27 17:32:47 -070095 gQcomQseecomProtocolGuid
Shivaprasad Hongal3860bbf2017-04-27 17:40:13 -070096 gEfiPartitionRecordGuid
Shivaprasad Hongal8835ce92017-05-09 15:14:13 -070097 gEfiHash2ProtocolGuid
98 gEfiHashAlgorithmSha256Guid
Zhen Kongbb3db752017-07-10 17:07:10 -070099 gEfiQcomASN1X509ProtocolGuid
100 gEfiQcomSecRSAProtocolGuid
Shivaprasad Hongala2c4dd72017-04-27 14:33:18 -0700101
102[FixedPcd]
103 gQcomTokenSpaceGuid.EnableMdtpSupport
Shivaprasad Hongal39236ae2017-06-06 16:10:35 -0700104 gQcomTokenSpaceGuid.AllowEio
Shivaprasad Hongala2c4dd72017-04-27 14:33:18 -0700105
106[Depex]
107 TRUE
108