]> code.ossystems Code Review - meta-freescale.git/commitdiff
optee-os: Use variable for includedir install
authorTom Hochstein <tom.hochstein@nxp.com>
Wed, 16 Feb 2022 18:46:36 +0000 (12:46 -0600)
committerTom Hochstein <tom.hochstein@nxp.com>
Thu, 24 Feb 2022 19:32:53 +0000 (13:32 -0600)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-security/optee-imx/optee-os_3.15.0.imx.bb

index bdc00bc386817b4d0d3b25b34d16c03672cb53ac..e3b8eff404e9104d9e9c6a4e5c69234bf8835026 100644 (file)
@@ -77,10 +77,10 @@ do_install () {
     install -m 644 ${B}/core/*.bin ${D}${nonarch_base_libdir}/firmware/
 
     # Install the TA devkit
-    install -d ${D}/usr/include/optee/export-user_ta_${OPTEE_ARCH}/
+    install -d ${D}${includedir}/optee/export-user_ta_${OPTEE_ARCH}/
 
     for f in ${B}/export-ta_${OPTEE_ARCH}/*; do
-        cp -aR $f ${D}/usr/include/optee/export-user_ta_${OPTEE_ARCH}/
+        cp -aR $f ${D}${includedir}/optee/export-user_ta_${OPTEE_ARCH}/
     done
 }