mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-29 05:21:44 -09:00
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>
21 lines
676 B
Makefile
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))
|