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 Oct 21, 2024
1 parent 28aeeeb commit eaab26c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes-security/optee-imx/optee-os-fslc.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2017-2021 NXP
# Copyright (C) 2017-2021,2024 NXP

SUMMARY = "OPTEE OS"
DESCRIPTION = "OPTEE OS"
Expand Down 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"

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

PACKAGE_ARCH = "${MACHINE_ARCH}"

0 comments on commit eaab26c

Please sign in to comment.