Acked-by: Jiewen Yao <[email protected]>

Need ARM/RISC-V owner to confirm.

> -----Original Message-----
> From: Kinney, Michael D <[email protected]>
> Sent: Wednesday, November 3, 2021 11:06 AM
> To: [email protected]
> Cc: Yao, Jiewen <[email protected]>; Wang, Jian J <[email protected]>;
> Ard Biesheuvel <[email protected]>; Chang, Abner
> <[email protected]>; Schaefer, Daniel <[email protected]>
> 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 <[email protected]>
> Cc: Jian J Wang <[email protected]>
> Cc: Ard Biesheuvel <[email protected]>
> Cc: Abner Chang <[email protected]>
> Cc: Daniel Schaefer <[email protected]>
> Signed-off-by: Michael D Kinney <[email protected]>
> ---
>  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 (#83212): https://edk2.groups.io/g/devel/message/83212
Mute This Topic: https://groups.io/mt/86783675/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to