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 = "${RPIFW_S}"
10
11do_install(){
12    install -m 0755 -d ${D}${libdir}
13    install -m 0755 ${S}/opt/vc/lib/*.so ${D}${libdir}
14    rm -f ${D}${libdir}/libGLES* ${D}${libdir}/libEGL* ${D}${libdir}/libWFC.so ${D}${libdir}/libOpenVG.so
15}
16
17FILES:${PN} = "${libdir}"
18
19#skipping the QA error since we are directly copying precompiled binaries
20INSANE_SKIP:${PN} = "ldflags"
21INHIBIT_PACKAGE_STRIP = "1"
22INHIBIT_SYSROOT_STRIP = "1"
23SOLIBS = ".so"
24FILES_SOLIBSDEV = ""
25
26COMPATIBLE_HOST = "null"
27COMPATIBLE_HOST:rpi:libc-glibc = "(arm.*)-linux"
28