]> git.proxmox.com Git - mirror_edk2.git/commitdiff
CryptoPkg: Remove RVCT support
authorRebecca Cran <quic_rcran@quicinc.com>
Tue, 3 May 2022 18:48:13 +0000 (02:48 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 13 May 2022 14:58:54 +0000 (14:58 +0000)
RVCT is obsolete and no longer used.
Remove support for it.

Signed-off-by: Rebecca Cran <quic_rcran@quicinc.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
CryptoPkg/CryptoPkg.dsc
CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf
CryptoPkg/Library/OpensslLib/OpensslLib.inf
CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
CryptoPkg/Test/CryptoPkgHostUnitTest.dsc

index 0aa72ed878463286015b48bd934e4d7bd60f7253..06990cb6fc79bf74ff2b748bbc64abb1ec7492ed 100644 (file)
   MSFT:*_*_*_CC_FLAGS = /D ENABLE_MD5_DEPRECATED_INTERFACES\r
   INTEL:*_*_*_CC_FLAGS = /D ENABLE_MD5_DEPRECATED_INTERFACES\r
   GCC:*_*_*_CC_FLAGS = -D ENABLE_MD5_DEPRECATED_INTERFACES\r
-  RVCT:*_*_*_CC_FLAGS = -DENABLE_MD5_DEPRECATED_INTERFACES\r
 !endif\r
index 59e21a5b48f82af2788d9a06cd6fd527942cea73..3d7b917103f1d7aeecc2d71c58810d6add5f64d8 100644 (file)
   #\r
   MSFT:*_*_*_CC_FLAGS = /wd4090\r
 \r
-  # -JCryptoPkg/Include : To disable the use of the system includes provided by RVCT\r
-  # --diag_remark=1     : Reduce severity of "#1-D: last line of file ends without a newline"\r
-  RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1\r
-\r
   GCC:*_CLANG35_*_CC_FLAGS = -std=c99\r
   GCC:*_CLANG38_*_CC_FLAGS = -std=c99\r
   GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer-types\r
index 2ea1fbfcd72857a4d87173576eeb9f4449805458..01de27e037473a6a9c921313042d5f350b596b89 100644 (file)
   #\r
   MSFT:*_*_*_CC_FLAGS = /wd4090 /wd4718\r
 \r
-  # -JCryptoPkg/Include : To disable the use of the system includes provided by RVCT\r
-  # --diag_remark=1     : Reduce severity of "#1-D: last line of file ends without a newline"\r
-  RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1\r
-\r
   GCC:*_CLANG35_*_CC_FLAGS = -std=c99\r
   GCC:*_CLANG38_*_CC_FLAGS = -std=c99\r
   GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer-types\r
index 69656fd28bdd31b9e87c76923feedc1480d6ce29..d28fb98b662330f08cf52035bf8365e483b638b2 100644 (file)
   #\r
   MSFT:*_*_*_CC_FLAGS = /wd4090\r
 \r
-  # -JCryptoPkg/Include : To disable the use of the system includes provided by RVCT\r
-  # --diag_remark=1     : Reduce severity of "#1-D: last line of file ends without a newline"\r
-  RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1\r
-\r
   GCC:*_CLANG35_*_CC_FLAGS = -std=c99\r
   GCC:*_CLANG38_*_CC_FLAGS = -std=c99\r
   GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer-types\r
index 17062ce84e15ca3dd758d947e9deb787a261e075..11ff1c6931d954dd60c7f3e78aa1666214e3c7c7 100644 (file)
   # C4018: '>': signed/unsigned mismatch\r
   MSFT:*_*_*_CC_FLAGS = /wd4090 /wd4018\r
 \r
-  # -JCryptoPkg/Include : To disable the use of the system includes provided by RVCT\r
-  # --diag_remark=1     : Reduce severity of "#1-D: last line of file ends without a newline"\r
-  RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1\r
-\r
   GCC:*_CLANG35_*_CC_FLAGS = -std=c99\r
   GCC:*_CLANG38_*_CC_FLAGS = -std=c99\r
 \r
index c7ceb5b9df1eec4b5be1b09c7c44278fb441a319..c899b811b149ecaeb83fa0eea02653295dd0c6a1 100644 (file)
   #    1: ignore "#1-D: last line of file ends without a newline"\r
   # 3017: <entity> may be used before being set (NOTE: This was fixed in OpenSSL 1.1 HEAD with\r
   #       commit d9b8b89bec4480de3a10bdaf9425db371c19145b, and can be dropped then.)\r
-  RVCT:*_*_ARM_CC_FLAGS     = $(OPENSSL_FLAGS) --library_interface=aeabi_clib99 --diag_suppress=1296,1295,550,1293,111,68,177,223,144,513,188,128,546,1,3017 -JCryptoPkg/Include\r
   XCODE:*_*_IA32_CC_FLAGS   = -mmmx -msse -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -w -std=c99 -Wno-error=uninitialized\r
   XCODE:*_*_X64_CC_FLAGS    = -mmmx -msse -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -w -std=c99 -Wno-error=uninitialized\r
 \r
index 63b4a8f3d83df51b7ea3016f47b92026422dcae1..0ec372454119eee4a8943fd0e71ff74b9112b161 100644 (file)
   #    1: ignore "#1-D: last line of file ends without a newline"\r
   # 3017: <entity> may be used before being set (NOTE: This was fixed in OpenSSL 1.1 HEAD with\r
   #       commit d9b8b89bec4480de3a10bdaf9425db371c19145b, and can be dropped then.)\r
-  RVCT:*_*_ARM_CC_FLAGS     = $(OPENSSL_FLAGS) --library_interface=aeabi_clib99 --diag_suppress=1296,1295,550,1293,111,68,177,223,144,513,188,128,546,1,3017 -JCryptoPkg/Include\r
   XCODE:*_*_IA32_CC_FLAGS   = -mmmx -msse -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -w -std=c99 -Wno-error=uninitialized\r
   XCODE:*_*_X64_CC_FLAGS    = -mmmx -msse -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -w -std=c99 -Wno-error=uninitialized\r
 \r
index c50a9cc4dc9ff9d22afb0dff7847de624b7baa74..16478f4a57ca730e63e3b3a2c02d073e58adf110 100644 (file)
@@ -43,4 +43,3 @@
   MSFT:*_*_*_CC_FLAGS  = /D ENABLE_MD5_DEPRECATED_INTERFACES\r
   INTEL:*_*_*_CC_FLAGS = /D ENABLE_MD5_DEPRECATED_INTERFACES\r
   GCC:*_*_*_CC_FLAGS   = -D ENABLE_MD5_DEPRECATED_INTERFACES\r
-  RVCT:*_*_*_CC_FLAGS  = -DENABLE_MD5_DEPRECATED_INTERFACES\r