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" |
Patrick Williams | d541ec5 | 2022-04-30 07:41:26 -0500 | [diff] [blame] | 4 | LICENSE = "GPL-2.0-only" |
Benjamin Fair | 6f6bd10 | 2019-10-30 18:40:41 -0700 | [diff] [blame] | 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 | |
Tim Lee | a80b119 | 2023-08-01 15:57:32 +0800 | [diff] [blame] | 11 | SRCREV = "4fa655f95547b927b0133c8ed96c88c5d14ac7b3" |
Benjamin Fair | 6f6bd10 | 2019-10-30 18:40:41 -0700 | [diff] [blame] | 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" |
Tim Lee | a80b119 | 2023-08-01 15:57:32 +0800 | [diff] [blame] | 18 | SRC_URI[bin.sha256sum] = "a33f3fe96786929a8f35e986ae76bbd1bf53459770a6ece7d6777dced1d62ddf" |
Benjamin Fair | 6f6bd10 | 2019-10-30 18:40:41 -0700 | [diff] [blame] | 19 | |
| 20 | inherit deploy |
| 21 | |
| 22 | do_deploy () { |
Benjamin Fair | 0290ed8 | 2019-12-02 16:14:22 -0800 | [diff] [blame] | 23 | install -D -m 644 ${WORKDIR}/${FILENAME} ${DEPLOYDIR}/Poleg_bootblock.bin |
Benjamin Fair | 6f6bd10 | 2019-10-30 18:40:41 -0700 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | addtask deploy before do_build after do_compile |