From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/openFPGALoader: new package
Date: Mon, 17 Feb 2020 19:43:18 +0100 [thread overview]
Message-ID: <20200217194318.3733ee25@windsurf> (raw)
In-Reply-To: <20200217181825.29766-1-jeanburgat33@gmail.com>
Hello,
Thanks for your contribution! See below for a number of comments.
On Mon, 17 Feb 2020 19:18:24 +0100
Jean Burgat <jeanburgat33@gmail.com> wrote:
> Signed-off-by: Jean Burgat <jeanburgat33@gmail.com>
> ---
> 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 ?
> diff --git a/package/openFPGALoader/Config.in b/package/openFPGALoader/Config.in
> new file mode 100644
> index 0000000000..0e96e81906
> --- /dev/null
> +++ b/package/openFPGALoader/Config.in
> @@ -0,0 +1,18 @@
> +config BR2_PACKAGE_OPENFPGALOADER
> + bool "openFPGALoader"
bool "openfpgaloader"
> + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
This dependency is also because of libftdi1
> + depends on BR2_TOOLCHAIN_USES_GLIBC # argp
Use the argp-standalone package to provide argp functionality for
non-glibc toolchains.
> + 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
So here you will be able to lift the glibc dependency thanks to
argp-standalone.
> diff --git a/package/openFPGALoader/openFPGALoader.mk b/package/openFPGALoader/openFPGALoader.mk
> new file mode 100644
> index 0000000000..6706e7ffbf
> --- /dev/null
> +++ b/package/openFPGALoader/openFPGALoader.mk
> @@ -0,0 +1,13 @@
> +################################################################################
> +#
> +# openFPGALoader
lower case.
> +#
> +################################################################################
> +
> +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
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2020-02-17 18:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-17 18:18 [Buildroot] [PATCH] package/openFPGALoader: new package Jean Burgat
2020-02-17 18:18 ` [Buildroot] [PATCH] propose myself as maintainer for package/openFPGALoader Jean Burgat
2020-02-17 18:44 ` Thomas Petazzoni
2020-02-17 18:43 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200217194318.3733ee25@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox