1SUMMARY = "Raspberrypi firmware libraries which are required by picamera library"
2DESCRIPTION = "Raspberrypi firmware libraries required by picamera library"
3LICENSE = "Broadcom-RPi"
4
5LIC_FILES_CHKSUM = "file://opt/vc/LICENCE;md5=86e53f5f5909ee66900418028de11780"
6
7include recipes-bsp/common/raspberrypi-firmware.inc
8
9S = "${WORKDIR}/raspberrypi-firmware-1.${PV}"
10
11do_install(){
12    install -m 0755 -d ${D}${libdir}
13    install -m 0755 ${S}/opt/vc/lib/*.so ${D}${libdir}
14}
15
16FILES:${PN} = "${libdir}"
17
18#skipping the QA error since we are directly copying precompiled binaries
19INSANE_SKIP:${PN} = "ldflags"
20INHIBIT_PACKAGE_STRIP = "1"
21INHIBIT_SYSROOT_STRIP = "1"
22SOLIBS = ".so"
23FILES_SOLIBSDEV = ""
24
25COMPATIBLE_HOST = "null"
26COMPATIBLE_HOST:rpi:libc-glibc = "(arm.*)-linux"
27