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