diff options
Diffstat (limited to 'recipes-bsp/imx-seco/imx-seco-libs/0001-Makefile-Fix-LIBDIR-for-multilib.patch')
-rw-r--r-- | recipes-bsp/imx-seco/imx-seco-libs/0001-Makefile-Fix-LIBDIR-for-multilib.patch | 28 |
1 files changed, 28 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 | |||