diff options
Diffstat (limited to 'meta/recipes-kernel/cryptodev')
-rw-r--r-- | meta/recipes-kernel/cryptodev/cryptodev-tests_1.12.bb | 1 | ||||
-rw-r--r-- | meta/recipes-kernel/cryptodev/files/0001-tests-Makefile-do-not-use-Werror.patch | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-kernel/cryptodev/cryptodev-tests_1.12.bb b/meta/recipes-kernel/cryptodev/cryptodev-tests_1.12.bb index c1adbb6245..c541478796 100644 --- a/meta/recipes-kernel/cryptodev/cryptodev-tests_1.12.bb +++ b/meta/recipes-kernel/cryptodev/cryptodev-tests_1.12.bb | |||
@@ -6,6 +6,7 @@ DEPENDS += "openssl" | |||
6 | 6 | ||
7 | SRC_URI += " \ | 7 | SRC_URI += " \ |
8 | file://0001-Add-the-compile-and-install-rules-for-cryptodev-test.patch \ | 8 | file://0001-Add-the-compile-and-install-rules-for-cryptodev-test.patch \ |
9 | file://0001-tests-Makefile-do-not-use-Werror.patch \ | ||
9 | " | 10 | " |
10 | 11 | ||
11 | EXTRA_OEMAKE='KERNEL_DIR="${STAGING_EXECPREFIXDIR}" PREFIX="${D}"' | 12 | EXTRA_OEMAKE='KERNEL_DIR="${STAGING_EXECPREFIXDIR}" PREFIX="${D}"' |
diff --git a/meta/recipes-kernel/cryptodev/files/0001-tests-Makefile-do-not-use-Werror.patch b/meta/recipes-kernel/cryptodev/files/0001-tests-Makefile-do-not-use-Werror.patch new file mode 100644 index 0000000000..347a4aef0f --- /dev/null +++ b/meta/recipes-kernel/cryptodev/files/0001-tests-Makefile-do-not-use-Werror.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From e2c2895d52761ddc6384a31364236dd13f677c34 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Fri, 10 Sep 2021 10:44:42 +0200 | ||
4 | Subject: [PATCH] tests/Makefile: do not use -Werror | ||
5 | |||
6 | Otherwise, openssl 3 deprecation warnings become errors. | ||
7 | Reported at https://github.com/cryptodev-linux/cryptodev-linux/issues/67 | ||
8 | |||
9 | Upstream-Status: Inappropriate [upstream needs to update the code] | ||
10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
11 | --- | ||
12 | tests/Makefile | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/tests/Makefile b/tests/Makefile | ||
16 | index 2fb7a9a..e94f80e 100644 | ||
17 | --- a/tests/Makefile | ||
18 | +++ b/tests/Makefile | ||
19 | @@ -1,4 +1,4 @@ | ||
20 | -CFLAGS += -I.. $(CRYPTODEV_CFLAGS) -Wall -Werror | ||
21 | +CFLAGS += -I.. $(CRYPTODEV_CFLAGS) -Wall | ||
22 | |||
23 | comp_progs := cipher_comp hash_comp hmac_comp | ||
24 | |||