blob: b4a5464f009f94d8ae7db5f527da010109639199 [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"
Tim Leeee56bcd2023-02-02 11:10:41 +08005LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
Tim Lee7e9914f2022-11-07 09:47:20 +08006
7FILENAME = "arbel_a35_bootblock_${PV}.bin"
8
Tim Leeee56bcd2023-02-02 11:10:41 +08009S = "${WORKDIR}/git"
Tim Lee7e9914f2022-11-07 09:47:20 +080010
11SRC_URI = " \
Tim Leeee56bcd2023-02-02 11:10:41 +080012 git://github.com/Nuvoton-Israel/npcm8xx-bootblock;branch=main;protocol=https \
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
Tim Lee7e9914f2022-11-07 09:47:20 +080016inherit deploy
17
18do_deploy () {
19 install -D -m 644 ${WORKDIR}/${FILENAME} ${DEPLOYDIR}/arbel_a35_bootblock.bin
20}
21
22addtask deploy before do_build after do_compile