diff options
author | Leif Lindholm <leif.lindholm@linaro.org> | 2018-11-01 15:06:11 +0000 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2019-02-04 17:09:14 +0000 |
commit | 2f0a1e6542fd8b9a1ae64105ebcb41dde5faf77d (patch) | |
tree | 9662bf64022c5bff810fe12f5ff8a77e96c5a6ae /SecurityPkg | |
parent | 47d90076edbb035e42f4f02c26ef1a0e3b4e28a5 (diff) | |
download | edk2-2f0a1e6542fd8b9a1ae64105ebcb41dde5faf77d.tar.gz edk2-2f0a1e6542fd8b9a1ae64105ebcb41dde5faf77d.tar.bz2 edk2-2f0a1e6542fd8b9a1ae64105ebcb41dde5faf77d.zip |
SecurityPkg: fix package build on ARM
The CompilerIntrinsicsLib and BaseStackCheckLib need to be included in
order for an ARM build of the package .dsc to succeed - so add them.
Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: jiewen.yao@intel.com
Diffstat (limited to 'SecurityPkg')
-rw-r--r-- | SecurityPkg/SecurityPkg.dsc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc index cb31985a50..ab887e8c4d 100644 --- a/SecurityPkg/SecurityPkg.dsc +++ b/SecurityPkg/SecurityPkg.dsc @@ -73,6 +73,17 @@ TcgStorageOpalLib|SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf
ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf
+[LibraryClasses.ARM]
+ #
+ # It is not possible to prevent the ARM compiler for generic intrinsic functions.
+ # This library provides the instrinsic functions generate by a given compiler.
+ # And NULL mean link this library into all ARM images.
+ #
+ NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
+
+ # Add support for GCC stack protector
+ NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
+
[LibraryClasses.common.PEIM]
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|