blob: 9eaa11b81342282dda97fac142cff230bccff7c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 2020-2022 NXP
DESCRIPTION = "Basler camera binary drivers"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://COPYING;md5=ea25d099982d035af85d193c88a1b479"
inherit fsl-eula-unpack
SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true"
SRC_URI[md5sum] = "4e33adeb8a43f5bd06703368721085f5"
SRC_URI[sha256sum] = "c44fc890902d9d8ef22186d56af035c9cac182817525e64575e3b79015383790"
do_install() {
# provided by the isp-imx package, do not install them here additionally
rm -f ${S}/opt/imx8-isp/bin/dewarp_config/sensor_dwe_os08a20_1080P_config.json
rm -f ${S}/opt/imx8-isp/bin/dewarp_config/sensor_dwe_os08a20_4K_config.json
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} = "already-stripped"
RDEPENDS:${PN} += "isp-imx"
COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)"
|