mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 12:59:03 +02:00

Some checks failed
Mirrors / Yocto Git Mirror (push) Has been cancelled
Apparently the recipe for python3 picamera is installing some libraries from /opt/vc/lib that are not necessary to the picamera module. The gles2 library, in particular, overwrites a symlink to another version of the gles2 library. The result is that two different gles2 libs are placed in /usr/lib. This commit removes a few unneeded libraries, leaving libmmal and its dependencies, that are instead required. Signed-off-by: Luca Carlon <carlon.luca@gmail.com>
28 lines
849 B
BlitzBasic
28 lines
849 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 = "${RPIFW_S}"
|
|
|
|
do_install(){
|
|
install -m 0755 -d ${D}${libdir}
|
|
install -m 0755 ${S}/opt/vc/lib/*.so ${D}${libdir}
|
|
rm -f ${D}${libdir}/libGLES* ${D}${libdir}/libEGL* ${D}${libdir}/libWFC.so ${D}${libdir}/libOpenVG.so
|
|
}
|
|
|
|
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"
|