mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-16 03:46:56 +00:00
9b2cbacb07
We have a few recipes which only deploy files that go into the boot partition and do not create packages to be installed into the rootfs. These recipes don't need to run the usual packaging tasks so we can drop them to speed up the build a little. We also have a bunch of recipes that don't need the usual toolchain as they just copy files or invoke native commands like `mkimage`. So to speed up the build a little more we can set INHIBIT_DEFAULT_DEPS to avoid an unnecessary dependency on the toolchain. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
59 lines
1.4 KiB
PHP
59 lines
1.4 KiB
PHP
DESCRIPTION = "Graphics libraries for BCM2835."
|
|
LICENSE = "Proprietary"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENCE;md5=86e53f5f5909ee66900418028de11780"
|
|
|
|
PROVIDES = "virtual/libgles2 virtual/egl"
|
|
COMPATIBLE_MACHINE = "^rpi$"
|
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
include recipes-bsp/common/firmware.inc
|
|
|
|
SRC_URI += " \
|
|
file://egl.pc \
|
|
file://vchiq.sh \
|
|
"
|
|
|
|
S = "${RPIFW_S}/${VCDIR}"
|
|
|
|
INCPR = "r1"
|
|
|
|
inherit pkgconfig update-rc.d
|
|
|
|
do_install () {
|
|
install -d ${D}${bindir}
|
|
cp -R bin/* ${D}${bindir}
|
|
|
|
install -d ${D}${sbindir}
|
|
cp -R sbin/* ${D}${sbindir}
|
|
|
|
install -d ${D}${libdir}
|
|
# note: -H option to deref symlinked .so
|
|
cp -R -H lib/* ${D}${libdir}
|
|
|
|
install -d ${D}${includedir}
|
|
cp -R include/* ${D}${includedir}
|
|
|
|
install -d ${D}${libdir}/pkgconfig
|
|
install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/
|
|
|
|
install -d ${D}/${sysconfdir}/init.d
|
|
install -m 0755 ${WORKDIR}/vchiq.sh ${D}${sysconfdir}/init.d/
|
|
}
|
|
|
|
# These are proprietary binaries generated elsewhere so don't check ldflags
|
|
INSANE_SKIP_${PN} = "ldflags"
|
|
|
|
INITSCRIPT_NAME = "vchiq.sh"
|
|
INITSCRIPT_PARAMS = "start 03 S ."
|
|
|
|
FILES_${PN} = "${bindir}/* \
|
|
${sbindir}/* \
|
|
${libdir}/lib*.so \
|
|
${sysconfdir}/init.d \
|
|
${libdir}/plugins"
|
|
FILES_${PN}-dev = "${libdir}/pkgconfig \
|
|
${includedir}"
|
|
FILES_${PN}-dbg += "${libdir}/plugins/.debug"
|