jh7110-spl-tool: Add recipe

Add recipe for a jh7110 signature tool, which is used to generate
SPL header information and generate u-boot-spl.bin.normal.out.

Signed-off-by: Alexey Firago <alexey.firago@gmail.com>
This commit is contained in:
Alexey Firago 2023-03-03 21:27:27 +00:00 committed by Khem Raj
parent 971466319a
commit 88cd6525d6

View file

@ -0,0 +1,21 @@
DESCRIPTION = "spl_tool is a jh7110 signature tool used to generate spl header information and generate u-boot-spl.bin.normal.out."
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e6dc25dc2418b8831c906d43809d8336"
SECTION = "bootloaders"
SRCREV = "8c5acc4e5eb7e4ad012463b05a5e3dbbfed1c38d"
SRC_URI = "git://github.com/starfive-tech/Tools;protocol=https;branch=master"
S = "${WORKDIR}/git/spl_tool"
do_compile () {
cd ${S}
oe_runmake clean
oe_runmake
}
do_install () {
install -Dm 0755 ${S}/spl_tool ${D}${bindir}/spl_tool
}
BBCLASSEXTEND = "native"