diff options
| author | Andrei Gherzan <andrei@gherzan.ro> | 2020-08-06 11:53:27 +0100 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-08-10 11:10:11 +0100 |
| commit | 7a2624d5ba0e9d7f8a4b5f120e1e13759373f652 (patch) | |
| tree | bec737567716c4539621e25b7dc9b17ea5d33927 /recipes-bsp/bootfiles/bcm2835-bootfiles.bb | |
| parent | fc494a35b513b05860c5a813239274017f1ef934 (diff) | |
| download | meta-raspberrypi-7a2624d5ba0e9d7f8a4b5f120e1e13759373f652.tar.gz | |
Revert "Generalize the naming of the bootfiles deploy directory"
This reverts commit a907c3261ef583f898803706cd596d372c6644cb.
Diffstat (limited to 'recipes-bsp/bootfiles/bcm2835-bootfiles.bb')
| -rw-r--r-- | recipes-bsp/bootfiles/bcm2835-bootfiles.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/recipes-bsp/bootfiles/bcm2835-bootfiles.bb b/recipes-bsp/bootfiles/bcm2835-bootfiles.bb new file mode 100644 index 0000000..d20312c --- /dev/null +++ b/recipes-bsp/bootfiles/bcm2835-bootfiles.bb | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | DESCRIPTION = "Closed source binary files to help boot the ARM on the BCM2835." | ||
| 2 | LICENSE = "Broadcom-RPi" | ||
| 3 | |||
| 4 | LIC_FILES_CHKSUM = "file://LICENCE.broadcom;md5=c403841ff2837657b2ed8e5bb474ac8d" | ||
| 5 | |||
| 6 | inherit deploy nopackages | ||
| 7 | |||
| 8 | include recipes-bsp/common/raspberrypi-firmware.inc | ||
| 9 | |||
| 10 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 11 | |||
| 12 | DEPENDS = "rpi-config" | ||
| 13 | |||
| 14 | COMPATIBLE_MACHINE = "^rpi$" | ||
| 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 | |||
| 37 | do_deploy[depends] += "rpi-config:do_deploy" | ||
| 38 | |||
| 39 | addtask deploy before do_build after do_install | ||
| 40 | do_deploy[dirs] += "${DEPLOYDIR}/${PN}" | ||
| 41 | |||
| 42 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 43 | |||
