mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-16 15:56:57 +00:00
26000aace1
The variables RPIFW_SRC_URI and RPIFW_S are created in the common firmware include file so that it is easier to override the firmware source in a local or distro config file. RPIFW_SRC_URI is used to set SRC_URI in firmware.inc as it is common to both bootfiles and vc-graphics. RPIFW_S is used as a prefix for S in bcm2835-bootfiles.bb and vc-graphics.inc as different subdirectories are referenced in each recipe. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
34 lines
787 B
BlitzBasic
34 lines
787 B
BlitzBasic
DESCRIPTION = "Closed source binary files to help boot the ARM on the BCM2835."
|
|
LICENSE = "Proprietary"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENCE.broadcom;md5=e86e693d19572ee64cc8b17fb062faa9"
|
|
|
|
include ../common/firmware.inc
|
|
|
|
RDEPENDS_${PN} = "rpi-config"
|
|
|
|
COMPATIBLE_MACHINE = "raspberrypi"
|
|
|
|
S = "${RPIFW_S}/boot"
|
|
|
|
PR = "r3"
|
|
|
|
addtask deploy before do_package after do_install
|
|
|
|
do_deploy() {
|
|
install -d ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles
|
|
for i in *.elf ; do
|
|
cp $i ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles
|
|
done
|
|
for i in *.dat ; do
|
|
cp $i ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles
|
|
done
|
|
for i in *.bin ; do
|
|
cp $i ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles
|
|
done
|
|
# Add stamp in deploy directory
|
|
touch ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/${PN}-${PV}.stamp
|
|
}
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|