blob: 848a29af7ba714330b21e463ca6a14f5d5e4273a [file] [log] [blame]
Patrick Williams8b8bc412016-08-17 15:02:23 -05001DESCRIPTION = "Closed source binary files to help boot the ARM on the BCM2835."
Brad Bishopcae294d2019-10-28 08:43:55 -04002LICENSE = "Broadcom-RPi"
Patrick Williams8b8bc412016-08-17 15:02:23 -05003
4LIC_FILES_CHKSUM = "file://LICENCE.broadcom;md5=4a4d169737c0786fb9482bb6d30401d1"
5
Brad Bishop316dfdd2018-06-25 12:45:53 -04006inherit deploy nopackages
Patrick Williams8b8bc412016-08-17 15:02:23 -05007
Brad Bishop26bdd442019-08-16 17:08:17 -04008include recipes-bsp/common/raspberrypi-firmware.inc
Patrick Williams8b8bc412016-08-17 15:02:23 -05009
Brad Bishop316dfdd2018-06-25 12:45:53 -040010INHIBIT_DEFAULT_DEPS = "1"
11
12DEPENDS = "rpi-config"
Patrick Williams8b8bc412016-08-17 15:02:23 -050013
Brad Bishopd7bf8c12018-02-25 22:55:05 -050014COMPATIBLE_MACHINE = "^rpi$"
Patrick Williams8b8bc412016-08-17 15:02:23 -050015
16S = "${RPIFW_S}/boot"
17
18PR = "r3"
19
20do_deploy() {
21 install -d ${DEPLOYDIR}/${PN}
22
23 for i in ${S}/*.elf ; do
24 cp $i ${DEPLOYDIR}/${PN}
25 done
26 for i in ${S}/*.dat ; do
27 cp $i ${DEPLOYDIR}/${PN}
28 done
29 for i in ${S}/*.bin ; do
30 cp $i ${DEPLOYDIR}/${PN}
31 done
32
33 # Add stamp in deploy directory
34 touch ${DEPLOYDIR}/${PN}/${PN}-${PV}.stamp
35}
36
Brad Bishopf76da502019-10-10 08:51:21 -040037do_deploy[depends] += "rpi-config:do_deploy"
38
Brad Bishop316dfdd2018-06-25 12:45:53 -040039addtask deploy before do_build after do_install
Patrick Williams8b8bc412016-08-17 15:02:23 -050040do_deploy[dirs] += "${DEPLOYDIR}/${PN}"
41
42PACKAGE_ARCH = "${MACHINE_ARCH}"
43