Skip to content

Commit

Permalink
optee-os: work-around buildpaths QA error of staticdev
Browse files Browse the repository at this point in the history
Fix the QA Error:
ERROR: optee-os-4.2.0.imx-r0 do_package_qa: QA Issue: File /usr/include/optee/export-user_ta_arm64/lib/libutils.a in package optee-os-staticdev contains reference to TMPDIR [buildpaths]
ERROR: optee-os-4.2.0.imx-r0 do_package_qa: QA Issue: File /usr/include/optee/export-user_ta_arm64/lib/libdl.a in package optee-os-staticdev contains reference to TMPDIR [buildpaths]
ERROR: optee-os-4.2.0.imx-r0 do_package_qa: QA Issue: File /usr/include/optee/export-user_ta_arm64/lib/libmbedtls.a in package optee-os-staticdev contains reference to TMPDIR [buildpaths]
ERROR: optee-os-4.2.0.imx-r0 do_package_qa: QA Issue: File /usr/include/optee/export-user_ta_arm64/lib/libutee.a in package optee-os-staticdev contains reference to TMPDIR [buildpaths]
ERROR: optee-os-4.2.0.imx-r0 do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /../build-imx93-11x11-lpddr4x-evk/tmp/work/imx93_11x11_lpddr4x_evk-poky-linux/optee-os/4.2.0.imx/temp/log.do_package_qa.2422162
ERROR: Task (/../meta-freescale/recipes-security/optee-imx/optee-os_4.2.0.imx.bb:do_package_qa) failed with exit code '1'

Signed-off-by: Jun Zhu <[email protected]>
  • Loading branch information
junzhuimx committed Mar 2, 2023
1 parent 28aeeeb commit e6e68c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes-security/optee-imx/optee-os-fslc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,7 @@ FILES:${PN} = "${nonarch_base_libdir}/firmware/ ${nonarch_base_libdir}/optee_arm
FILES:${PN}-staticdev = "${includedir}/optee/"
RDEPENDS:${PN}-dev += "${PN}-staticdev"

# Build paths are currently embedded
INSANE_SKIP:${PN}-staticdev += "buildpaths"

PACKAGE_ARCH = "${MACHINE_ARCH}"

0 comments on commit e6e68c8

Please sign in to comment.