Benjamin Fair | 63acac2 | 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 | |
| 7 | FILENAME = "Poleg_bootblock.bin" |
| 8 | |
| 9 | S = "${WORKDIR}" |
| 10 | |
| 11 | SRCREV = "7bfef99f7a0354395519c4975f96d66cdda1fb67" |
| 12 | SRC_URI = " \ |
| 13 | https://raw.githubusercontent.com/Nuvoton-Israel/bootblock/${SRCREV}/LICENSE;name=lic \ |
| 14 | https://github.com/Nuvoton-Israel/bootblock/releases/download/BootBlock_${PV}/Poleg_bootblock_basic.bin;downloadfilename=${FILENAME};name=bin \ |
| 15 | " |
| 16 | |
| 17 | SRC_URI[lic.md5sum] = "b234ee4d69f5fce4486a80fdaf4a4263" |
| 18 | SRC_URI[bin.sha256sum] = "05f71da6ebb7798679fcffdcc928fbada8f941bd8e7a374ebc826131a0803e58" |
| 19 | |
| 20 | inherit deploy |
| 21 | |
| 22 | do_deploy () { |
| 23 | install -D -m 644 ${WORKDIR}/${FILENAME} ${DEPLOYDIR}/ |
| 24 | } |
| 25 | |
| 26 | addtask deploy before do_build after do_compile |