blob: 5319c4e48e74dcf61cd0a725123125d8a865593b [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 \
Benjamin Fair5f77a542022-12-16 06:44:56 +000013 https://github.com/Nuvoton-Israel/npcm8xx-bootblock/releases/download/${RELEASE}/arbel_a35_bootblock.${PV}.bin;downloadfilename=${FILENAME};name=bin \
Tim Lee7e9914f2022-11-07 09:47:20 +080014"
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