summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Lee <timlee660101@gmail.com>2023-02-02 06:10:41 +0300
committerTim Lee <chli30@nuvoton.com>2023-02-03 05:08:37 +0300
commitee56bcda286fb727d0a101edf106621049ffa89f (patch)
tree632a67251e0679c0423ea1f72ae7cdca760fc319
parent3b3d40e1e799938dc5796a6a695c046af40f385c (diff)
downloadopenbmc-ee56bcda286fb727d0a101edf106621049ffa89f.tar.xz
meta-nuvoton: npcm8xx-bootblock: update SRC_URI of LICENSE
Change to use the LICENSE file from git repository to avoid build warning/error when fetch this package at the first time. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I84e01df1413308e87c61149225738d54b44b8169
-rw-r--r--meta-nuvoton/recipes-bsp/images/npcm8xx-bootblock.inc9
1 files changed, 3 insertions, 6 deletions
diff --git a/meta-nuvoton/recipes-bsp/images/npcm8xx-bootblock.inc b/meta-nuvoton/recipes-bsp/images/npcm8xx-bootblock.inc
index 5319c4e48e..b4a5464f00 100644
--- a/meta-nuvoton/recipes-bsp/images/npcm8xx-bootblock.inc
+++ b/meta-nuvoton/recipes-bsp/images/npcm8xx-bootblock.inc
@@ -2,19 +2,17 @@ SUMMARY = "Primary bootloader for NPCM8XX (Arbel) devices"
DESCRIPTION = "Primary bootloader for NPCM8XX (Arbel) devices"
HOMEPAGE = "https://github.com/Nuvoton-Israel/npcm8xx-bootblock"
LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=650b869bd8ff2aed59c62bad2a22a821"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
FILENAME = "arbel_a35_bootblock_${PV}.bin"
-S = "${WORKDIR}"
+S = "${WORKDIR}/git"
SRC_URI = " \
- https://github.com/Nuvoton-Israel/npcm8xx-bootblock/blob/${SRCREV}/LICENSE;name=lic \
+ git://github.com/Nuvoton-Israel/npcm8xx-bootblock;branch=main;protocol=https \
https://github.com/Nuvoton-Israel/npcm8xx-bootblock/releases/download/${RELEASE}/arbel_a35_bootblock.${PV}.bin;downloadfilename=${FILENAME};name=bin \
"
-SRC_URI[lic.sha256sum] = "7c34d28e784b202aa4998f477fd0aa9773146952d7f6fa5971369fcdda59cf48"
-
inherit deploy
do_deploy () {
@@ -22,4 +20,3 @@ do_deploy () {
}
addtask deploy before do_build after do_compile
-