blob: 466f44381e88199df61be57fd9f7f4fd4a0f15ea [file] [log] [blame]
Patrick Williams8b8bc412016-08-17 15:02:23 -05001DESCRIPTION = "Closed source binary files to help boot the ARM on the BCM2835."
2LICENSE = "Proprietary"
3
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
8include recipes-bsp/common/firmware.inc
9
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 Bishop316dfdd2018-06-25 12:45:53 -040037addtask deploy before do_build after do_install
Patrick Williams8b8bc412016-08-17 15:02:23 -050038do_deploy[dirs] += "${DEPLOYDIR}/${PN}"
39
40PACKAGE_ARCH = "${MACHINE_ARCH}"
41