summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Li <yi1.li@intel.com>2022-05-10 15:19:07 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-05-11 00:04:39 +0000
commit9dd964f5e5c5595a1acd5eb438fb088327db86fa (patch)
treed987689063f4539423f61ce5047d8cbfec36f9c8
parenta332ffb6efb57c338087551325cc4fffb0c81210 (diff)
downloadedk2-9dd964f5e5c5595a1acd5eb438fb088327db86fa.tar.gz
edk2-9dd964f5e5c5595a1acd5eb438fb088327db86fa.tar.bz2
edk2-9dd964f5e5c5595a1acd5eb438fb088327db86fa.zip
CryptoPkg/openssl: disable codestyle checks for generated files
Files generated by process_files.pl from openssl sources should not be checked for edk2 code style. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Yi Li <yi1.li@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com> Cc: Guomin Jiang <guomin.jiang@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
-rw-r--r--CryptoPkg/CryptoPkg.ci.yaml14
1 files changed, 13 insertions, 1 deletions
diff --git a/CryptoPkg/CryptoPkg.ci.yaml b/CryptoPkg/CryptoPkg.ci.yaml
index 396ca93dbe..bb52ceb547 100644
--- a/CryptoPkg/CryptoPkg.ci.yaml
+++ b/CryptoPkg/CryptoPkg.ci.yaml
@@ -10,7 +10,8 @@
"IgnoreFiles": [
# These directories contain auto-generated OpenSSL content
"Library/OpensslLib/X64",
- "Library/OpensslLib/X64Gcc"
+ "Library/OpensslLib/X64Gcc",
+ "Library/Include/openssl"
]
},
"EccCheck": {
@@ -26,6 +27,8 @@
## Both file path and directory path are accepted.
"IgnoreFiles": [
"Library/OpensslLib/openssl",
+ "Library/Include/openssl",
+ "Library/Include/crypto",
# The unit testing folder is not to be checked
"Test/UnitTest",
# This has OpenSSL interfaces that aren't UEFI spec compliant
@@ -89,5 +92,14 @@
"ExtendWords": [], # words to extend to the dictionary for this package
"IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
"AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
+ },
+
+ # options defined in .pytool/Plugin/UncrustifyCheck
+ "UncrustifyCheck": {
+ "IgnoreFiles": [
+ "opensslconf.h",
+ "dso_conf.h",
+ "opensslconf_generated.h"
+ ]
}
}