summaryrefslogtreecommitdiffstats
path: root/recipes-security/optee-imx
diff options
context:
space:
mode:
authorantznin <agodard@witekio.com>2020-04-29 14:37:38 +0200
committerOtavio Salvador <otavio@ossystems.com.br>2020-05-05 08:50:50 -0300
commit1da242af42a5a88cd2527bf829570d6f10b27010 (patch)
tree89602cde386cc6ad2c5a66c11978300b68a5189d /recipes-security/optee-imx
parent2f4e04cb978822bba63638950141fbc28c431b05 (diff)
downloadmeta-freescale-1da242af42a5a88cd2527bf829570d6f10b27010.tar.gz
optee-os: Replace /lib by ${nonarch_base_libdir} in do_install
This fixes a do_package error when using `usrmerge` in `DISTRO_FEATURES`. In that case the bin files should have been installed in /usr/lib. Using ${nonarch_base_libdir} makes the location specific to distro settings. Signed-off-by: antznin <agodard@witekio.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Change-Id: I9d6c015975b093f74f29927a7e8bdfd87fd3dc09
Diffstat (limited to 'recipes-security/optee-imx')
-rw-r--r--recipes-security/optee-imx/optee-os_3.2.0.imx.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-security/optee-imx/optee-os_3.2.0.imx.bb b/recipes-security/optee-imx/optee-os_3.2.0.imx.bb
index ba903519..06563a18 100644
--- a/recipes-security/optee-imx/optee-os_3.2.0.imx.bb
+++ b/recipes-security/optee-imx/optee-os_3.2.0.imx.bb
@@ -73,8 +73,8 @@ do_deploy () {
73} 73}
74 74
75do_install () { 75do_install () {
76 install -d ${D}/lib/firmware/ 76 install -d ${D}${nonarch_base_libdir}/firmware/
77 install -m 644 ${B}/core/*.bin ${D}/lib/firmware/ 77 install -m 644 ${B}/core/*.bin ${D}${nonarch_base_libdir}/firmware/
78 78
79 # Install the TA devkit 79 # Install the TA devkit
80 install -d ${D}/usr/include/optee/export-user_ta_${OPTEE_ARCH}/ 80 install -d ${D}/usr/include/optee/export-user_ta_${OPTEE_ARCH}/