meta-raspberrypi/recipes-multimedia/picamera-libs/picamera-libs.bb
Khem Raj 9f5aaa1a29 picamera-libs: Adjust sourcedir
After switching the SRC_URI for firmware, this adjustment was needed to
let this recipe find /opt/vc path in correct place

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-04 20:04:06 +01:00

27 lines
772 B
BlitzBasic

SUMMARY = "Raspberrypi firmware libraries which are required by picamera library"
DESCRIPTION = "Raspberrypi firmware libraries required by picamera library"
LICENSE = "Broadcom-RPi"
LIC_FILES_CHKSUM = "file://opt/vc/LICENCE;md5=86e53f5f5909ee66900418028de11780"
include recipes-bsp/common/raspberrypi-firmware.inc
S = "${WORKDIR}/raspberrypi-firmware-1.${PV}"
do_install(){
install -m 0755 -d ${D}${libdir}
install -m 0755 ${S}/opt/vc/lib/*.so ${D}${libdir}
}
FILES:${PN} = "${libdir}"
#skipping the QA error since we are directly copying precompiled binaries
INSANE_SKIP:${PN} = "ldflags"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
SOLIBS = ".so"
FILES_SOLIBSDEV = ""
COMPATIBLE_HOST = "null"
COMPATIBLE_HOST:rpi:libc-glibc = "(arm.*)-linux"