From 88cd6525d68976a5680525da433d9c5eb0a69571 Mon Sep 17 00:00:00 2001 From: Alexey Firago Date: Fri, 3 Mar 2023 21:27:27 +0000 Subject: [PATCH] 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 --- .../jh7110-spl-tool/jh7110-spl-tool_git.bb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes-bsp/jh7110-spl-tool/jh7110-spl-tool_git.bb diff --git a/recipes-bsp/jh7110-spl-tool/jh7110-spl-tool_git.bb b/recipes-bsp/jh7110-spl-tool/jh7110-spl-tool_git.bb new file mode 100644 index 0000000..90ac83c --- /dev/null +++ b/recipes-bsp/jh7110-spl-tool/jh7110-spl-tool_git.bb @@ -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"