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