diff options
author | Andrey Zhizhikin <andrey.z@gmail.com> | 2020-08-31 08:30:50 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-09-23 23:42:37 -0300 |
commit | 0c961a51248fc02c6a0bb3691a707495805025a5 (patch) | |
tree | 9f58d8e75e51f912b050c344ecd8f348e615e191 /recipes-security/optee-imx/optee-client/0001-flags-do-not-override-CFLAGS-from-host.patch | |
parent | b3eff3e4cea333e35401e031293731ab32bc0929 (diff) | |
download | meta-freescale-0c961a51248fc02c6a0bb3691a707495805025a5.tar.gz |
optee-imx: upgrade to version 3.7.0
Update all recipes to pull sources from imx_5.4.24_2.1.0 branch in NXP
upstream and update SRCREV to match release tags.
Update PREFERRED_VERSION of optee for mx8 to point to 3.7.0.imx.
Following notes are additions to the version update of recipes:
--------------------------
optee-os:
- Refresh gcc10 patch to resolve the fuzz during apply
- Drop python patch as it is already applied upstream
- Add new machines to the list
optee-client:
- Update CFLAGS patch to match 3.7.0 version
- Split ${B} from ${S}, this makes build more clear
optee-test:
- Remove do_compile task and substitute with OEMAKE
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Diffstat (limited to 'recipes-security/optee-imx/optee-client/0001-flags-do-not-override-CFLAGS-from-host.patch')
-rw-r--r-- | recipes-security/optee-imx/optee-client/0001-flags-do-not-override-CFLAGS-from-host.patch | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/recipes-security/optee-imx/optee-client/0001-flags-do-not-override-CFLAGS-from-host.patch b/recipes-security/optee-imx/optee-client/0001-flags-do-not-override-CFLAGS-from-host.patch index 86c360f2..9c6b1069 100644 --- a/recipes-security/optee-imx/optee-client/0001-flags-do-not-override-CFLAGS-from-host.patch +++ b/recipes-security/optee-imx/optee-client/0001-flags-do-not-override-CFLAGS-from-host.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 6a600c5637c5446ab3d11eb4304a1dd473ec503e Mon Sep 17 00:00:00 2001 | 1 | From 591461d6efe51989b4a7f4e875cdf37505eba360 Mon Sep 17 00:00:00 2001 |
2 | From: Andrey Zhizhikin <andrey.z@gmail.com> | 2 | From: Andrey Zhizhikin <andrey.z@gmail.com> |
3 | Date: Thu, 4 Jun 2020 19:24:05 +0000 | 3 | Date: Thu, 4 Jun 2020 19:24:05 +0000 |
4 | Subject: [PATCH] flags: do not override CFLAGS from host | 4 | Subject: [PATCH] flags: do not override CFLAGS from host |
@@ -19,11 +19,11 @@ Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> | |||
19 | Reviewed-by: Jerome Forissier <jerome@forissier.org> | 19 | Reviewed-by: Jerome Forissier <jerome@forissier.org> |
20 | Reviewed-by: Joakim Bech <joakim.bech@linaro.org> | 20 | Reviewed-by: Joakim Bech <joakim.bech@linaro.org> |
21 | --- | 21 | --- |
22 | flags.mk | 6 +++--- | 22 | flags.mk | 8 ++++---- |
23 | 1 file changed, 3 insertions(+), 3 deletions(-) | 23 | 1 file changed, 4 insertions(+), 4 deletions(-) |
24 | 24 | ||
25 | diff --git a/flags.mk b/flags.mk | 25 | diff --git a/flags.mk b/flags.mk |
26 | index 71f3d18..faabef9 100644 | 26 | index c2f0e1c..65192bc 100644 |
27 | --- a/flags.mk | 27 | --- a/flags.mk |
28 | +++ b/flags.mk | 28 | +++ b/flags.mk |
29 | @@ -6,7 +6,7 @@ CROSS_COMPILE ?= arm-linux-gnueabihf- | 29 | @@ -6,7 +6,7 @@ CROSS_COMPILE ?= arm-linux-gnueabihf- |
@@ -35,10 +35,13 @@ index 71f3d18..faabef9 100644 | |||
35 | -Werror-implicit-function-declaration -Wextra \ | 35 | -Werror-implicit-function-declaration -Wextra \ |
36 | -Wfloat-equal -Wformat-nonliteral -Wformat-security \ | 36 | -Wfloat-equal -Wformat-nonliteral -Wformat-security \ |
37 | -Wformat=2 -Winit-self -Wmissing-declarations \ | 37 | -Wformat=2 -Winit-self -Wmissing-declarations \ |
38 | @@ -15,11 +15,11 @@ CFLAGS := -Wall -Wbad-function-cast -Wcast-align \ | 38 | @@ -16,13 +16,13 @@ CFLAGS := -Wall -Wbad-function-cast -Wcast-align \ |
39 | -Wpointer-arith -Wshadow -Wstrict-prototypes \ | ||
40 | -Wswitch-default -Wunsafe-loop-optimizations \ | 39 | -Wswitch-default -Wunsafe-loop-optimizations \ |
41 | -Wwrite-strings -Werror | 40 | -Wwrite-strings -D_FILE_OFFSET_BITS=64 |
41 | ifeq ($(CFG_WERROR),y) | ||
42 | -CFLAGS += -Werror | ||
43 | +override CFLAGS += -Werror | ||
44 | endif | ||
42 | -CFLAGS += -c -fPIC | 45 | -CFLAGS += -c -fPIC |
43 | +override CFLAGS += -c -fPIC | 46 | +override CFLAGS += -c -fPIC |
44 | 47 | ||