meta-freescale/recipes-devtools
Ting Liu 93d26c3d78 cst: suppress deprecated-declarations error
Fix below build error with openssl 3.0:
| gcc  -c -g -Wall -Wno-strict-aliasing -Werror -Itools/header_generation/create_hdr_isbc/include/ -Itools/header_generation/create_hdr_esbc/include/ -Itools/header_generation/create_hdr_pbi/include/ -Itools/header_generation/create_hdr_cf/include/ -Itools/fuse_provisioning/include/ -Itaal/include -Icommon/include -Ilib_hash_drbg/include -isystem.../usr/include -O2 -pipe common/crypto_utils.c
| common/crypto_utils.c: In function 'crypto_hash_init'
| common/crypto_utils.c:46:2: error: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
|    46 |  SHA256_Init(c);
|       |  ^~~~~~~~~~~
| In file included from .../usr/include/openssl/x509.h:41,
|                  from .../usr/include/openssl/ssl.h:31,
|                  from common/crypto_utils.c:37:
| .../usr/include/openssl/sha.h:73:27: note: declared here
|    73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
|       |                           ^~~~~~~~~~~
| cc1: all warnings being treated as errors
| make: *** [Makefile:172: crypto_utils.o] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| NOTE: recipe cst-native-git-r0: task do_compile: Failed

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-15 22:11:36 +08:00
..
cst cst: suppress deprecated-declarations error 2021-10-15 22:11:36 +08:00
devregs devregs: update to latest version from upstream 2020-02-28 08:16:14 -03:00
imx-usb-loader imx-usb-loader: bump to revision f009770 2020-02-03 18:54:42 -03:00
qemu qemu-qoriq: upgrade to 4.2 2021-10-15 22:11:36 +08:00
utp-com utp-com: Switch git repo to Freescale github 2018-05-25 15:41:16 +02:00
uuu add recipe for uuu tool 2021-10-13 15:49:38 +02:00