diff options
Diffstat (limited to 'recipes-bsp/imx-seco/imx-seco-libs')
-rw-r--r-- | recipes-bsp/imx-seco/imx-seco-libs/0001-Makefile-Fix-LIBDIR-for-multilib.patch | 28 | ||||
-rw-r--r-- | recipes-bsp/imx-seco/imx-seco-libs/0001-add-v2x_test-to-the-installed-binaries.patch | 33 |
2 files changed, 61 insertions, 0 deletions
diff --git a/recipes-bsp/imx-seco/imx-seco-libs/0001-Makefile-Fix-LIBDIR-for-multilib.patch b/recipes-bsp/imx-seco/imx-seco-libs/0001-Makefile-Fix-LIBDIR-for-multilib.patch new file mode 100644 index 00000000..27107a6a --- /dev/null +++ b/recipes-bsp/imx-seco/imx-seco-libs/0001-Makefile-Fix-LIBDIR-for-multilib.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 9e89d173a7fab97c913960344ae01dfa409b6258 Mon Sep 17 00:00:00 2001 | ||
2 | From: Cristinel Panfir <cristinel.panfir@nxp.com> | ||
3 | Date: Mon, 27 Jul 2020 18:55:30 +0000 | ||
4 | Subject: [PATCH] Makefile: Fix LIBDIR for multilib | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com> | ||
8 | --- | ||
9 | Makefile | 3 ++- | ||
10 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/Makefile b/Makefile | ||
13 | index b16cebf..492d700 100644 | ||
14 | --- a/Makefile | ||
15 | +++ b/Makefile | ||
16 | @@ -4,7 +4,8 @@ all: she_test hsm_test v2x_test she_lib.a seco_nvm_manager.a hsm_lib.a | ||
17 | CFLAGS = -O1 -Werror -fPIC | ||
18 | DESTDIR ?= export | ||
19 | BINDIR ?= /usr/bin | ||
20 | -LIBDIR ?= /usr/lib | ||
21 | +base_libdir ?= /lib | ||
22 | +LIBDIR ?= /usr/$(base_libdir) | ||
23 | INCLUDEDIR ?= /usr/include | ||
24 | |||
25 | ifdef COVERAGE | ||
26 | -- | ||
27 | 2.7.4 | ||
28 | |||
diff --git a/recipes-bsp/imx-seco/imx-seco-libs/0001-add-v2x_test-to-the-installed-binaries.patch b/recipes-bsp/imx-seco/imx-seco-libs/0001-add-v2x_test-to-the-installed-binaries.patch new file mode 100644 index 00000000..81a4c17e --- /dev/null +++ b/recipes-bsp/imx-seco/imx-seco-libs/0001-add-v2x_test-to-the-installed-binaries.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From b62f020ea723dc33f28e5e865d0ddd13219971c9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Cristinel Panfir <cristinel.panfir@nxp.com> | ||
3 | Date: Mon, 29 Mar 2021 15:24:42 +0300 | ||
4 | Subject: [PATCH] Makefile: Add v2x test to the installed-binaries | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com> | ||
8 | [regenerate the patch to be applied after meta-imx patches] | ||
9 | Signed-off-by: Fausto Chiatante <fausto.chiatante@nxp.com> | ||
10 | |||
11 | --- | ||
12 | Makefile | 4 ++-- | ||
13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/Makefile b/Makefile | ||
16 | index 25ad333..a397814 100644 | ||
17 | --- a/Makefile | ||
18 | +++ b/Makefile | ||
19 | @@ -61,9 +61,9 @@ hsm_doc: include/hsm/hsm_api.h | ||
20 | cp doc/latex/refman.pdf doc/hsm_api_document.pdf | ||
21 | rm -rf doc/latex/ | ||
22 | |||
23 | -install: hsm_test she_test she_lib.a seco_nvm_manager.a hsm_lib.a | ||
24 | +install: hsm_test she_test v2x_test she_lib.a seco_nvm_manager.a hsm_lib.a | ||
25 | mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(INCLUDEDIR) | ||
26 | cp seco_nvm_manager.a hsm_lib.a she_lib.a $(DESTDIR)$(LIBDIR) | ||
27 | - cp hsm_test she_test $(DESTDIR)$(BINDIR) | ||
28 | + cp hsm_test she_test v2x_test $(DESTDIR)$(BINDIR) | ||
29 | cp -a include/* $(DESTDIR)$(INCLUDEDIR) | ||
30 | |||
31 | -- | ||
32 | 2.25.1 | ||
33 | |||