diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2021-03-16 07:43:20 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-03-16 17:59:36 -0300 |
commit | be6a39f2faf605330a0ae9a33430e1112ac4d3f5 (patch) | |
tree | 09d4708a0429b8fdecfca792f4af6add4c8467fb /recipes-security/optee-imx/optee-test/0003-sock_server-fix-compilation-against-musl-sys-errno.h.patch | |
parent | 1d2f65637442c1f52967001e539c5d44c1ba74cd (diff) | |
download | meta-freescale-be6a39f2faf605330a0ae9a33430e1112ac4d3f5.tar.gz |
optee-imx: Upgrade to 3.10.0
Update all recipes to pull sources from imx_5.4.70_2.3.0 branch in NXP
upstream and update SRCREV to match release tags.
Update PREFERRED_VERSION of optee for mx8 to point to 3.10.0.imx.
Following notes are additions to the version update of recipes:
--------------------------
optee-client:
- Drop CFLAGS patch as it is already applied upstream
optee-os:
- Drop gcc10 patch as it is already applied upstream
- Add dependency on python3-pycryptodomex-native
- Drop NOWERROR flag as package is reworked to disable warnings by default
- Rework mkimage load address since tee-init_load_addr.txt is no longer created
optee-test:
- Drop python3 patch as it is already applied upstream
- Remove unused patch files from layer
- Add dependency on python3-pycryptodomex-native
- Add sysroot to C and C++ flags
Fixes #686, fixes #689.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-security/optee-imx/optee-test/0003-sock_server-fix-compilation-against-musl-sys-errno.h.patch')
-rw-r--r-- | recipes-security/optee-imx/optee-test/0003-sock_server-fix-compilation-against-musl-sys-errno.h.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/recipes-security/optee-imx/optee-test/0003-sock_server-fix-compilation-against-musl-sys-errno.h.patch b/recipes-security/optee-imx/optee-test/0003-sock_server-fix-compilation-against-musl-sys-errno.h.patch deleted file mode 100644 index d32a8eb7..00000000 --- a/recipes-security/optee-imx/optee-test/0003-sock_server-fix-compilation-against-musl-sys-errno.h.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From dc8cd1c43edeedb9f7335020537c4ffdddd683f8 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | ||
3 | Date: Thu, 7 Feb 2019 01:26:53 +0000 | ||
4 | Subject: [PATCH 1/3] sock_server: fix compilation against musl (sys/errno.h) | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Compiling against musl-libc fails with the following error: | ||
10 | |||
11 | | In file included from .../host/xtest/sock_server.c:24: | ||
12 | | .../usr/include/sys/errno.h:1:2: error: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Werror=cpp] | ||
13 | | #warning redirecting incorrect #include <sys/errno.h> to <errno.h> | ||
14 | | ^~~~~~~ | ||
15 | |||
16 | Just remove the needless include. | ||
17 | |||
18 | Signed-off-by: André Draszik <andre.draszik@jci.com> | ||
19 | Acked-by: Jens Wiklander <jens.wiklander@linaro.org> | ||
20 | Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> | ||
21 | --- | ||
22 | Signed-off-by: André Draszik <andre.draszik@jci.com> | ||
23 | Upstream-Status: Backport [3.5.0] | ||
24 | host/xtest/sock_server.c | 1 - | ||
25 | 1 file changed, 1 deletion(-) | ||
26 | |||
27 | diff --git a/host/xtest/sock_server.c b/host/xtest/sock_server.c | ||
28 | index 0d2ff06..1ba73d6 100644 | ||
29 | --- a/host/xtest/sock_server.c | ||
30 | +++ b/host/xtest/sock_server.c | ||
31 | @@ -21,7 +21,6 @@ | ||
32 | #include <netdb.h> | ||
33 | #include <netinet/in.h> | ||
34 | #include <poll.h> | ||
35 | -#include <sys/errno.h> | ||
36 | #include <sys/socket.h> | ||
37 | #include <unistd.h> | ||
38 | |||
39 | -- | ||
40 | 2.23.0.rc1 | ||
41 | |||