xref: /openbmc/openbmc/meta-nuvoton/recipes-bsp/images/npcm8xx-tip-fw.inc (revision f9c38bfa66ea2bd22fec064bf4f439f181509bc7)
1*f9c38bfaSBenjamin FairSUMMARY = "TIP FW for NPCM8XX (Arbel) devices"
2*f9c38bfaSBenjamin FairDESCRIPTION = "TIP FW for NPCM8XX (Arbel) devices"
3*f9c38bfaSBenjamin FairHOMEPAGE = "https://github.com/Nuvoton-Israel/npcm8xx-tip-fw"
4*f9c38bfaSBenjamin FairLICENSE = "MIT"
5*f9c38bfaSBenjamin FairLIC_FILES_CHKSUM = "file://LICENSE;md5=650b869bd8ff2aed59c62bad2a22a821"
6*f9c38bfaSBenjamin Fair
7*f9c38bfaSBenjamin FairFILENAME = "Kmt_TipFwL0_Skmt_TipFwL1_${PV}.bin"
8*f9c38bfaSBenjamin Fair
9*f9c38bfaSBenjamin FairS = "${WORKDIR}"
10*f9c38bfaSBenjamin Fair
11*f9c38bfaSBenjamin FairSRC_URI = " \
12*f9c38bfaSBenjamin Fair    https://github.com/Nuvoton-Israel/npcm8xx-tip-fw/${SRCREV}/LICENSE;name=lic \
13*f9c38bfaSBenjamin Fair    https://github.com/Nuvoton-Israel/npcm8xx-tip-fw/releases/download/${RELEASE}/Kmt_TipFwL0_Skmt_TipFwL1.bin;downloadfilename=${FILENAME};name=bin \
14*f9c38bfaSBenjamin Fair"
15*f9c38bfaSBenjamin Fair
16*f9c38bfaSBenjamin FairSRC_URI[lic.sha256sum] = "7c34d28e784b202aa4998f477fd0aa9773146952d7f6fa5971369fcdda59cf48"
17*f9c38bfaSBenjamin Fair
18*f9c38bfaSBenjamin Fairinherit deploy
19*f9c38bfaSBenjamin Fair
20*f9c38bfaSBenjamin Fairdo_deploy () {
21*f9c38bfaSBenjamin Fair	install -D -m 644 ${WORKDIR}/${FILENAME} ${DEPLOYDIR}/Kmt_TipFwL0_Skmt_TipFwL1.bin
22*f9c38bfaSBenjamin Fair}
23*f9c38bfaSBenjamin Fair
24*f9c38bfaSBenjamin Fairaddtask deploy before do_build after do_compile
25