]> code.ossystems Code Review - meta-freescale.git/commitdiff
optee-client: Fix incorrect packaging logic
authorTom Hochstein <tom.hochstein@nxp.com>
Mon, 21 Feb 2022 19:04:46 +0000 (13:04 -0600)
committerTom Hochstein <tom.hochstein@nxp.com>
Thu, 24 Feb 2022 19:32:53 +0000 (13:32 -0600)
- The logic for the tee-supplicant package doesn't work and the package
ends up empty. In fact, tee-supplicant belongs in the main package anyway.
- The main package already contains ${libdir}, so drop the redundant
assignment.
- The headers belong in the -dev package, so drop them from the main.
- Drop the un-necessary INSANE_SKIP settings.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-security/optee-imx/optee-client_3.15.0.imx.bb

index 68c73727ea7c9b7ddb445acdf4004a3abd6e2b6f..6e8f1e541b16081c00e0584336ea6c50e40b8a2b 100644 (file)
@@ -47,12 +47,4 @@ do_install () {
        install -D -p -m0644 ${WORKDIR}/tee-supplicant.service ${D}${systemd_system_unitdir}/tee-supplicant.service
 }
 
-PACKAGES += "tee-supplicant"
-FILES:${PN} += "${libdir}/* ${includedir}/*"
-FILES:tee-supplicant += "${bindir}/tee-supplicant"
-
-INSANE_SKIP:${PN} = "ldflags dev-elf"
-INSANE_SKIP:${PN}-dev = "ldflags dev-elf"
-INSANE_SKIP:tee-supplicant = "ldflags"
-
 COMPATIBLE_MACHINE = "(imx-nxp-bsp)"