package/openfpgaloader: new package
openFPGALoader is a tool for programming FPGA. Signed-off-by: Jean Burgat <jeanburgat33@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
02bd5eb59f
commit
c27c7ea464
@ -1216,6 +1216,9 @@ F: package/quota/
|
||||
N: Jason Pruitt <jrspruitt@gmail.com>
|
||||
F: package/librtlsdr/
|
||||
|
||||
N: Jean Burgat <jeanburgat33@gmail.com>
|
||||
F: package/openfpgaloader/
|
||||
|
||||
N: Jens Kleintje <scooby22@web.de>
|
||||
F: package/gcnano-binaries/
|
||||
|
||||
|
@ -499,6 +499,7 @@ endmenu
|
||||
source "package/ofono/Config.in"
|
||||
source "package/on2-8170-modules/Config.in"
|
||||
source "package/open2300/Config.in"
|
||||
source "package/openfpgaloader/Config.in"
|
||||
source "package/openipmi/Config.in"
|
||||
source "package/openocd/Config.in"
|
||||
source "package/openpowerlink/Config.in"
|
||||
|
18
package/openfpgaloader/Config.in
Normal file
18
package/openfpgaloader/Config.in
Normal file
@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_OPENFPGALOADER
|
||||
bool "openfpgaloader"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi1
|
||||
depends on BR2_PACKAGE_HAS_UDEV
|
||||
depends on BR2_INSTALL_LIBSTDCPP # libftdipp1
|
||||
depends on BR2_USE_WCHAR # libftdipp1
|
||||
select BR2_PACKAGE_ARGP_STANDALONE \
|
||||
if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL # argp
|
||||
select BR2_PACKAGE_LIBFTDI1
|
||||
select BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1
|
||||
help
|
||||
Universal utility for programming FPGA
|
||||
|
||||
https://github.com/trabucayre/openFPGALoader/
|
||||
|
||||
comment "openfpgaloader needs udev, a toolchain w/ threads, wchar, C++"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
|
||||
!BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_HAS_UDEV
|
3
package/openfpgaloader/openfpgaloader.hash
Normal file
3
package/openfpgaloader/openfpgaloader.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 fcff4999164ee2d3734f16b7f1d2063b3a68e237921e8d63c2afe75e16cdc7ce openfpgaloader-849e5751e06d4d00f323205d5f02ee01f9f59a61.tar.gz
|
||||
sha256 8486a10c4393cee1c25392769ddd3b2d6c242d6ec7928e1414efff7dfb2f07ef LICENSE
|
18
package/openfpgaloader/openfpgaloader.mk
Normal file
18
package/openfpgaloader/openfpgaloader.mk
Normal file
@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
#
|
||||
# openfpgaloader
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENFPGALOADER_VERSION = 849e5751e06d4d00f323205d5f02ee01f9f59a61
|
||||
OPENFPGALOADER_SITE = $(call github,trabucayre,openFPGALoader,$(OPENFPGALOADER_VERSION))
|
||||
OPENFPGALOADER_LICENSE = AGPL-3.0
|
||||
OPENFPGALOADER_LICENSE_FILES = LICENSE
|
||||
OPENFPGALOADER_DEPENDENCIES = libftdi1 udev
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
|
||||
OPENFPGALOADER_DEPENDENCIES += argp-standalone
|
||||
OPENFPGALOADER_CONF_OPTS += -DCMAKE_CXX_STANDARD_LIBRARIES="-largp"
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
Loading…
Reference in New Issue
Block a user