Benjamin Fair | 6f6bd10 | 2019-10-30 18:40:41 -0700 | [diff] [blame] | 1 | SUMMARY = "Primary bootloader for NPCM7XX (Poleg) devices" |
| 2 | DESCRIPTION = "Primary bootloader for NPCM7XX (Poleg) devices" |
| 3 | HOMEPAGE = "https://github.com/Nuvoton-Israel/npcm7xx-bootblock" |
| 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 6 | |
Benjamin Fair | 0290ed8 | 2019-12-02 16:14:22 -0800 | [diff] [blame] | 7 | FILENAME = "Poleg_bootblock_${PV}.bin" |
Benjamin Fair | 6f6bd10 | 2019-10-30 18:40:41 -0700 | [diff] [blame] | 8 | |
| 9 | S = "${WORKDIR}" |
| 10 | |
Benjamin Fair | 6f6bd10 | 2019-10-30 18:40:41 -0700 | [diff] [blame] | 11 | SRC_URI = " \ |
| 12 | https://raw.githubusercontent.com/Nuvoton-Israel/bootblock/${SRCREV}/LICENSE;name=lic \ |
| 13 | https://github.com/Nuvoton-Israel/bootblock/releases/download/BootBlock_${PV}/Poleg_bootblock_basic.bin;downloadfilename=${FILENAME};name=bin \ |
| 14 | " |
| 15 | |
| 16 | SRC_URI[lic.md5sum] = "b234ee4d69f5fce4486a80fdaf4a4263" |
Benjamin Fair | 9dfbc71 | 2020-12-21 16:51:42 -0800 | [diff] [blame] | 17 | SRC_URI[bin.sha256sum] = "b2df56cc8667227fa625f11c628bfc10c831d36d076bf28ff376902d06b63a54" |
Benjamin Fair | 6f6bd10 | 2019-10-30 18:40:41 -0700 | [diff] [blame] | 18 | |
| 19 | inherit deploy |
| 20 | |
| 21 | do_deploy () { |
Benjamin Fair | 0290ed8 | 2019-12-02 16:14:22 -0800 | [diff] [blame] | 22 | install -D -m 644 ${WORKDIR}/${FILENAME} ${DEPLOYDIR}/Poleg_bootblock.bin |
Benjamin Fair | 6f6bd10 | 2019-10-30 18:40:41 -0700 | [diff] [blame] | 23 | } |
| 24 | |
| 25 | addtask deploy before do_build after do_compile |