Tim Lee | 7e9914f | 2022-11-07 09:47:20 +0800 | [diff] [blame] | 1 | SUMMARY = "Primary bootloader for NPCM8XX (Arbel) devices" |
| 2 | DESCRIPTION = "Primary bootloader for NPCM8XX (Arbel) devices" |
| 3 | HOMEPAGE = "https://github.com/Nuvoton-Israel/npcm8xx-bootblock" |
| 4 | LICENSE = "GPL-2.0-only" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=650b869bd8ff2aed59c62bad2a22a821" |
| 6 | |
| 7 | FILENAME = "arbel_a35_bootblock_${PV}.bin" |
| 8 | |
| 9 | S = "${WORKDIR}" |
| 10 | |
| 11 | SRC_URI = " \ |
| 12 | https://github.com/Nuvoton-Israel/npcm8xx-bootblock/blob/${SRCREV}/LICENSE;name=lic \ |
Benjamin Fair | 5f77a54 | 2022-12-16 06:44:56 +0000 | [diff] [blame] | 13 | https://github.com/Nuvoton-Israel/npcm8xx-bootblock/releases/download/${RELEASE}/arbel_a35_bootblock.${PV}.bin;downloadfilename=${FILENAME};name=bin \ |
Tim Lee | 7e9914f | 2022-11-07 09:47:20 +0800 | [diff] [blame] | 14 | " |
| 15 | |
| 16 | SRC_URI[lic.sha256sum] = "7c34d28e784b202aa4998f477fd0aa9773146952d7f6fa5971369fcdda59cf48" |
| 17 | |
| 18 | inherit deploy |
| 19 | |
| 20 | do_deploy () { |
| 21 | install -D -m 644 ${WORKDIR}/${FILENAME} ${DEPLOYDIR}/arbel_a35_bootblock.bin |
| 22 | } |
| 23 | |
| 24 | addtask deploy before do_build after do_compile |
| 25 | |