98a74d81a8
Add jh71xx-tools as a new host package, it includes a tool that allows to recover the bootloader of JH71xx-based platforms, such as the BeagleV. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> [yann.morin.1998@free.fr: - fix alphabetical order, spotted by Bin - use LICENSE as license file, update license hash accordingly ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
21 lines
648 B
Makefile
21 lines
648 B
Makefile
################################################################################
|
|
#
|
|
# jh71xx-tools
|
|
#
|
|
################################################################################
|
|
|
|
JH71XX_TOOLS_VERSION = 7a29f4b9d2355aa39afa8680680909bb74e4991d
|
|
JH71XX_TOOLS_SITE = $(call github,kprasadvnsi,JH71xx-tools,$(JH71XX_TOOLS_VERSION))
|
|
JH71XX_TOOLS_LICENSE = MIT
|
|
JH71XX_TOOLS_LICENSE_FILES = LICENSE
|
|
|
|
define HOST_JH71XX_TOOLS_BUILD_CMDS
|
|
$(HOSTCC) -o $(@D)/jh7100-recover $(@D)/jh7100-recover.c
|
|
endef
|
|
|
|
define HOST_JH71XX_TOOLS_INSTALL_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/jh7100-recover $(HOST_DIR)/bin/jh7100-recover
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|