package/openFPGALoader: new package
PATCH 1/1 package/openFPGALoader: new package
--- package/Config.in | 1 + package/openFPGALoader/Config.in | 18 ++++++++++++++++++ package/openFPGALoader/openFPGALoader.hash | 3 +++ package/openFPGALoader/openFPGALoader.mk | 13 +++++++++++++ 4 files changed, 35 insertions(+) create mode 100644 package/openFPGALoader/Config.in create mode 100644 package/openFPGALoader/openFPGALoader.hash create mode 100644 package/openFPGALoader/openFPGALoader.mk
package/Config.in +1 -0
@@ -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"
package/openFPGALoader/Config.in new file +18 -0
@@ -0,0 +1,18 @@ +config BR2_PACKAGE_OPENFPGALOADER + bool "openFPGALoader" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_USES_GLIBC # argp + depends on BR2_PACKAGE_HAS_UDEV + depends on BR2_INSTALL_LIBSTDCPP # libftdipp1 + depends on BR2_USE_WCHAR # libftdipp1 + select BR2_PACKAGE_LIBFTDI1 + select BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1 + help + Universal utility for programming FPGA + + https://github.com/trabucayre/openFPGALoader/ + +comment "openFPGALoader needs a glibc toolchain w/ threads, wchar, C++, udev" + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ + !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_HAS_UDEV + depends on !BR2_TOOLCHAIN_USES_GLIBC
package/openFPGALoader/openFPGALoader.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally computed +sha256 fcff4999164ee2d3734f16b7f1d2063b3a68e237921e8d63c2afe75e16cdc7ce openFPGALoader-849e5751e06d4d00f323205d5f02ee01f9f59a61.tar.gz +sha256 8486a10c4393cee1c25392769ddd3b2d6c242d6ec7928e1414efff7dfb2f07ef LICENSE
package/openFPGALoader/openFPGALoader.mk new file +13 -0
@@ -0,0 +1,13 @@ +################################################################################ +# +# 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 + +$(eval $(cmake-package))
Signature · 1 line
2.11.0
PATCH 1/1 propose myself as maintainer for package/openFPGALoader
--- DEVELOPERS | 3 +++ 1 file changed, 3 insertions(+)
DEVELOPERS +3 -0
@@ -1216,6 +1216,9 @@ F: package/quota/ N: Jason Pruitt <[email protected]> F: package/librtlsdr/ +N: Jean Burgat <[email protected]> +F: package/openFPGALoader + N: Jens Kleintje <[email protected]> F: package/gcnano-binaries/
Signature · 1 line
2.11.0
PATCH 1/1 propose myself as maintainer for package/openFPGALoader
Quoted 10 lines · On Mon, 17 Feb 2020 19:18:25 +0100 Jean Burgat <[email protected]> wrote:
Signed-off-by Jean Burgat <[email protected]>--- DEVELOPERS | 3 +++ 1 file changed, 3 insertions(+)DEVELOPERS +0
-0
DEVELOPERS F: package/quota/ · line 1220
Quoted 5 lines
DEVELOPERS +2
-0@@ -1216,6 +1216,9 @@ F: package/quota/ N: Jason Pruitt <[email protected]> F: package/librtlsdr/ +N: Jean Burgat <[email protected]> +F: package/openFPGALoader
Ah, here is the DEVELOPERS entry. Could you merge this with the patch adding the package, and also add a final / to package/openfpgaloader/ (all lower case).
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/openFPGALoader: new package
In reply to Jean BurgatHello,
Thanks for your contribution! See below for a number of comments.
Quoted 7 lines · On Mon, 17 Feb 2020 19:18:24 +0100 Jean Burgat <[email protected]> wrote:
Signed-off-by Jean Burgat <[email protected]>--- package/Config.in | 1 + package/openFPGALoader/Config.in | 18 ++++++++++++++++++ package/openFPGALoader/openFPGALoader.hash | 3 +++ package/openFPGALoader/openFPGALoader.mk | 13 +++++++++++++ 4 files changed, 35 insertions(+)
Could you add an entry to the DEVELOPERS file for this package ?
Also, could you name the package openfpgaloader, i.e in lower-case ?
package/openFPGALoader/Config.in line 2
Quoted 8 lines
package/openFPGALoader/Config.in new file +2
-0@@ -0,0 +1,18 @@ +config BR2_PACKAGE_OPENFPGALOADER + bool "openFPGALoader"
bool "openfpgaloader"
package/openFPGALoader/Config.in line 3
Quoted 1 line
package/openFPGALoader/Config.in new file +1
-0+ depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
This dependency is also because of libftdi1
package/openFPGALoader/Config.in line 4
Quoted 1 line
package/openFPGALoader/Config.in new file +1
-0+ depends on BR2_TOOLCHAIN_USES_GLIBC # argp
Use the argp-standalone package to provide argp functionality for non-glibc toolchains.
Quoted 4 lines
package/openFPGALoader/Config.in new file +4
-0+ depends on BR2_PACKAGE_HAS_UDEV + depends on BR2_INSTALL_LIBSTDCPP # libftdipp1 + depends on BR2_USE_WCHAR # libftdipp1 + select BR2_PACKAGE_LIBFTDI1
package/openFPGALoader/Config.in line 18
Quoted 10 lines
package/openFPGALoader/Config.in new file +10
-0+ select BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1 + help + Universal utility for programming FPGA + + https://github.com/trabucayre/openFPGALoader/ + +comment "openFPGALoader needs a glibc toolchain w/ threads, wchar, C++, udev" + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ + !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_HAS_UDEV + depends on !BR2_TOOLCHAIN_USES_GLIBC
So here you will be able to lift the glibc dependency thanks to argp-standalone.
package/openFPGALoader/openFPGALoader.mk line 3
Quoted 9 lines
package/openFPGALoader/openFPGALoader.mk new file +3
-0@@ -0,0 +1,13 @@ +################################################################################ +# +# openFPGALoader
lower case.
package/openFPGALoader/openFPGALoader.mk line 9
Quoted 6 lines
package/openFPGALoader/openFPGALoader.mk new file +6
-0+# +################################################################################ + +OPENFPGALOADER_VERSION = 849e5751e06d4d00f323205d5f02ee01f9f59a61 +OPENFPGALOADER_SITE = $(call github,trabucayre,openFPGALoader,$(OPENFPGALOADER_VERSION)) +OPENFPGALOADER_LICENSE = AGPL-3.0
Interesting to use the AGPL for such a project, but oh well :)
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com