summaryrefslogtreecommitdiff
path: root/meta-nuvoton/recipes-bsp/images/npcm8xx-tip-fw.inc
diff options
context:
space:
mode:
authorBenjamin Fair <benjaminfair@google.com>2022-10-19 01:05:09 +0300
committerBenjamin Fair <benjaminfair@google.com>2022-10-25 23:22:08 +0300
commitf9c38bfa66ea2bd22fec064bf4f439f181509bc7 (patch)
treec3ecd68ca0b24d250708eaf40943aff1f42dc5c5 /meta-nuvoton/recipes-bsp/images/npcm8xx-tip-fw.inc
parentf90af74b70c9aa8f5178567f2a57deae88cedd6b (diff)
downloadopenbmc-f9c38bfa66ea2bd22fec064bf4f439f181509bc7.tar.xz
meta-nuvoton: move npcm8xx-tip-fw recipe into inc file
This will allow us to use different versions of this recipe for different platforms. Tested: No impact to the resulting recipe Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: I90cf725589c5df48d17668bf8afe3ef3db7d8e2e
Diffstat (limited to 'meta-nuvoton/recipes-bsp/images/npcm8xx-tip-fw.inc')
-rw-r--r--meta-nuvoton/recipes-bsp/images/npcm8xx-tip-fw.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-nuvoton/recipes-bsp/images/npcm8xx-tip-fw.inc b/meta-nuvoton/recipes-bsp/images/npcm8xx-tip-fw.inc
new file mode 100644
index 0000000000..0c25cd6392
--- /dev/null
+++ b/meta-nuvoton/recipes-bsp/images/npcm8xx-tip-fw.inc
@@ -0,0 +1,24 @@
+SUMMARY = "TIP FW for NPCM8XX (Arbel) devices"
+DESCRIPTION = "TIP FW for NPCM8XX (Arbel) devices"
+HOMEPAGE = "https://github.com/Nuvoton-Israel/npcm8xx-tip-fw"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=650b869bd8ff2aed59c62bad2a22a821"
+
+FILENAME = "Kmt_TipFwL0_Skmt_TipFwL1_${PV}.bin"
+
+S = "${WORKDIR}"
+
+SRC_URI = " \
+ https://github.com/Nuvoton-Israel/npcm8xx-tip-fw/${SRCREV}/LICENSE;name=lic \
+ https://github.com/Nuvoton-Israel/npcm8xx-tip-fw/releases/download/${RELEASE}/Kmt_TipFwL0_Skmt_TipFwL1.bin;downloadfilename=${FILENAME};name=bin \
+"
+
+SRC_URI[lic.sha256sum] = "7c34d28e784b202aa4998f477fd0aa9773146952d7f6fa5971369fcdda59cf48"
+
+inherit deploy
+
+do_deploy () {
+ install -D -m 644 ${WORKDIR}/${FILENAME} ${DEPLOYDIR}/Kmt_TipFwL0_Skmt_TipFwL1.bin
+}
+
+addtask deploy before do_build after do_compile