From b2816cd47478ca87bfcecaa1a9b92b7909f24a50 Mon Sep 17 00:00:00 2001 From: Chris Dimich Date: Mon, 15 Feb 2021 23:12:25 -0800 Subject: basler-camera: add recipe Signed-off-by: Chris Dimich (cherry picked from commit ab82bf33d4f95dacfdfbc56a5b34c6fa51d67e9c) --- recipes-bsp/isp-imx/basler-camera_4.2.2.6.0.bb | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 recipes-bsp/isp-imx/basler-camera_4.2.2.6.0.bb (limited to 'recipes-bsp/isp-imx/basler-camera_4.2.2.6.0.bb') diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.6.0.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.6.0.bb new file mode 100644 index 00000000..65440b6a --- /dev/null +++ b/recipes-bsp/isp-imx/basler-camera_4.2.2.6.0.bb @@ -0,0 +1,25 @@ +# Copyright 2020 NXP + +DESCRIPTION = "Basler camera binary drivers" +LICENSE = "Proprietary" +LIC_FILES_CHKSUM = "file://COPYING;md5=cf3f9b8d09bc3926b1004ea71f7a248a" + +inherit fsl-eula-unpack + +SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" + +SRC_URI[md5sum] = "8c94839802598853f7b91f6386b4643e" +SRC_URI[sha256sum] = "6456dbb0095d988cce65f94e92a3ea80d796e02fd410987c937cfc0a09ca2e4a" + +do_install() { + dest_dir=${D}/opt/imx8-isp/bin + install -d ${D}/${libdir} + install -d $dest_dir + cp -r ${S}/opt/imx8-isp/bin/* $dest_dir + cp -r ${S}/usr/lib/* ${D}/${libdir} +} + +SYSTEMD_AUTO_ENABLE = "enable" + +FILES_${PN} = "${libdir} /opt" +INSANE_SKIP_${PN} = "file-rdeps already-stripped" -- cgit v1.2.3-54-g00ecf