From 5910cd66fc290842218a17efffb4433026b27a52 Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Tue, 27 Apr 2021 17:14:29 -0500 Subject: [PATCH] isp-imx: Normalize the recipe source folder The source folder of the recipe is adjusted to the appshell sub-folder to facilitate building of that folder. This causes complicated adjustments for the license and patch files. Restore the source folder to the default and use OECMAKE_SOURCEPATH to direct the build to the appshell sub-folder. Signed-off-by: Tom Hochstein --- recipes-bsp/isp-imx/isp-imx_4.2.2.11.0.bb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.11.0.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.11.0.bb index 1e363d13..53894baf 100644 --- a/recipes-bsp/isp-imx/isp-imx_4.2.2.11.0.bb +++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.11.0.bb @@ -2,21 +2,22 @@ DESCRIPTION = "i.MX Verisilicon Software ISP" LICENSE = "Proprietary" -LIC_FILES_CHKSUM = "file://${WORKDIR}/${PN}-${PV}/COPYING;md5=3c3fe2b904fd694f28d2f646ee16dddb" +LIC_FILES_CHKSUM = "file://COPYING;md5=3c3fe2b904fd694f28d2f646ee16dddb" inherit fsl-eula-unpack cmake systemd SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true \ - file://0001-start_isp.sh-fix-test-to-be-generic.patch;patchdir=.. \ + file://0001-start_isp.sh-fix-test-to-be-generic.patch \ " SRC_URI[md5sum] = "75f79ba556c47172b9a0cbc3a877e604" SRC_URI[sha256sum] = "28e2ee909f29a256c4eac87ef8336932d90a88a2a183389ac0868212954af42c" -S = "${WORKDIR}/${PN}-${PV}/appshell" - DEPENDS = "python3 libdrm" +# Build the sub-folder appshell +OECMAKE_SOURCEPATH = "${S}/appshell" + OECMAKE_GENERATOR = "Unix Makefiles" SYSTEMD_SERVICE_${PN} = "imx8-isp.service" -- 2.40.1