[edk2-devel] [Patch 3/6] SecurityPkg/SecurityPkg.dsc: Add missing RngLib for ARM and RISCV64

Daniel Schaefer daniel.schaefer at hpe.com
Wed Nov 3 05:37:00 UTC 2021


Reviewed-by: Daniel Schaefer <daniel.schaefer at hpe.com>

On 11/3/21 13:28, Yao, Jiewen wrote:
> Acked-by: Jiewen Yao <Jiewen.yao at intel.com>
> 
> Need ARM/RISC-V owner to confirm.
> 
>> -----Original Message-----
>> From: Kinney, Michael D <michael.d.kinney at intel.com>
>> Sent: Wednesday, November 3, 2021 11:06 AM
>> To: devel at edk2.groups.io
>> Cc: Yao, Jiewen <jiewen.yao at intel.com>; Wang, Jian J <jian.j.wang at intel.com>;
>> Ard Biesheuvel <ardb+tianocore at kernel.org>; Chang, Abner
>> <abner.chang at hpe.com>; Schaefer, Daniel <daniel.schaefer at hpe.com>
>> Subject: [Patch 3/6] SecurityPkg/SecurityPkg.dsc: Add missing RngLib for ARM
>> and RISCV64
>>
>> Fix SecurityPkg build breaks for ARM and RISCV64 by adding RngLib
>> mapping.
>>
>> Cc: Jiewen Yao <jiewen.yao at intel.com>
>> Cc: Jian J Wang <jian.j.wang at intel.com>
>> Cc: Ard Biesheuvel <ardb+tianocore at kernel.org>
>> Cc: Abner Chang <abner.chang at hpe.com>
>> Cc: Daniel Schaefer <daniel.schaefer at hpe.com>
>> Signed-off-by: Michael D Kinney <michael.d.kinney at intel.com>
>> ---
>>  SecurityPkg/SecurityPkg.dsc | 9 ++++++++-
>>  1 file changed, 8 insertions(+), 1 deletion(-)
>>
>> diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc
>> index 37318c64c59f..73a93c2285b1 100644
>> --- a/SecurityPkg/SecurityPkg.dsc
>> +++ b/SecurityPkg/SecurityPkg.dsc
>> @@ -84,6 +84,14 @@ [LibraryClasses.ARM, LibraryClasses.AARCH64]
>>    # Add support for GCC stack protector
>>    NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
>>
>> +  ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
>> +
>> +[LibraryClasses.ARM]
>> +  RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
>> +
>> +[LibraryClasses.RISCV64]
>> +  RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
>> +
>>  [LibraryClasses.common.PEIM]
>>    PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
>>    PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
>> @@ -381,4 +389,3 @@ [BuildOptions]
>>     MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
>>    INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
>>          *_*_*_CC_FLAGS       = -D DISABLE_NEW_DEPRECATED_INTERFACES
>> -
>> --
>> 2.32.0.windows.1
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#83214): https://edk2.groups.io/g/devel/message/83214
Mute This Topic: https://groups.io/mt/86783675/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list