Files
buildroot/package/starfive-spltool/starfive-spltool.mk
Thomas Bonnefille 6c4a992050 package/starfive-spltool: new package
This patch adds a new package for the Starfive SPL tool. It is used to
add a header to the Secondary Program Loader for platforms based on
the Starfive JH7110 SoC.

Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-05-01 20:30:31 +02:00

21 lines
676 B
Makefile

################################################################################
#
# starfive-spltool
#
################################################################################
STARFIVE_SPLTOOL_VERSION = JH7110_VF2_515_v5.11.3
STARFIVE_SPLTOOL_SITE = $(call github,starfive-tech,soft_3rdpart,$(STARFIVE_SPLTOOL_VERSION))
STARFIVE_SPLTOOL_LICENSE = GPL-2.0+
STARFIVE_SPLTOOL_FILES = spl_tool/LICENSE
define HOST_STARFIVE_SPLTOOL_BUILD_CMDS
$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D)/spl_tool
endef
define HOST_STARFIVE_SPLTOOL_INSTALL_CMDS
$(INSTALL) -D -m 0755 $(@D)/spl_tool/spl_tool $(HOST_DIR)/bin/spl_tool
endef
$(eval $(host-generic-package))