mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
package/bfscripts: new package
Bootstrap the installation of Mellanox/NVIDIA Bluefield scripts that can be run either on the host CPU or on the onboard ARM64 CPU. Signed-off-by: Vincent Jardin <vjardin@free.fr> Reviewed-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
a842df6348
commit
dc4a5acfde
28
package/bfscripts/bfscripts.mk
Normal file
28
package/bfscripts/bfscripts.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# bfscripts
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BFSCRIPTS_VERSION = 3.9.7-1
|
||||
BFSCRIPTS_SITE = $(call github,Mellanox,bfscripts,$(BFSCRIPTS_VERSION))
|
||||
BFSCRIPTS_LICENSE = BSD-2-Clause
|
||||
BFSCRIPTS_LICENSE_FILES = LICENSE
|
||||
|
||||
BFSCRIPTS_FILES_TO_INSTALL = \
|
||||
bfcfg \
|
||||
bfrshlog \
|
||||
bfup
|
||||
|
||||
define BFSCRIPTS_INSTALL_TARGET_CMDS
|
||||
$(foreach f,$(BFSCRIPTS_FILES_TO_INSTALL),\
|
||||
$(INSTALL) -D -m 0755 $(@D)/$(f) $(TARGET_DIR)/usr/bin/$(f)
|
||||
)
|
||||
endef
|
||||
|
||||
define BFSCRIPTS_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -D -m 755 package/bfscripts/S99bfup \
|
||||
$(TARGET_DIR)/etc/init.d/S99bfup
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user