Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 1 | DESCRIPTION = "Closed source binary files to help boot the ARM on the BCM2835." |
| 2 | LICENSE = "Proprietary" |
| 3 | |
| 4 | LIC_FILES_CHKSUM = "file://LICENCE.broadcom;md5=4a4d169737c0786fb9482bb6d30401d1" |
| 5 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 6 | inherit deploy nopackages |
Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 7 | |
| 8 | include recipes-bsp/common/firmware.inc |
| 9 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 10 | INHIBIT_DEFAULT_DEPS = "1" |
| 11 | |
| 12 | DEPENDS = "rpi-config" |
Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 13 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 14 | COMPATIBLE_MACHINE = "^rpi$" |
Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 15 | |
| 16 | S = "${RPIFW_S}/boot" |
| 17 | |
| 18 | PR = "r3" |
| 19 | |
| 20 | do_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 Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 37 | addtask deploy before do_build after do_install |
Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 38 | do_deploy[dirs] += "${DEPLOYDIR}/${PN}" |
| 39 | |
| 40 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 41 | |