mirror of
https://github.com/Fishwaldo/meta-riscv.git
synced 2025-03-15 11:31:43 +00:00
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:
parent
971466319a
commit
88cd6525d6
1 changed files with 21 additions and 0 deletions
21
recipes-bsp/jh7110-spl-tool/jh7110-spl-tool_git.bb
Normal file
21
recipes-bsp/jh7110-spl-tool/jh7110-spl-tool_git.bb
Normal 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"
|
Loading…
Add table
Reference in a new issue