package/openfpgaloader: bump to version 0.10.0

Also adds libgpiod support.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Gwenhael Goavec-Merou 2023-02-21 18:27:16 +01:00 committed by Thomas Petazzoni
parent 7087e5286d
commit 0fd1f8a892
3 changed files with 19 additions and 2 deletions

View File

@ -24,6 +24,16 @@ config BR2_PACAKGE_OPENFPGALOADER_CMSIS
comment "openfpgaloader CMSIS-DAP needs udev /dev management and a toolchain w/ NPTL threads"
depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
config BR2_PACKAGE_OPENFPGALOADER_LIBGPIOD
bool "libgpiod support"
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 # libgpiod
select BR2_PACKAGE_LIBGPIOD
help
openfpgaloader libgpiod support
comment "openfpgaloader libgpiod needs kernel headers >= 4.8"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
endif
comment "openfpgaloader needs a toolchain w/ threads, C++, gcc >= 4.9"

View File

@ -1,3 +1,3 @@
# Locally computed
sha256 a862a209d696becff915a77512e6a8c22f92d73480a45cc12273d9ad1db60d23 openfpgaloader-0.6.1.tar.gz
sha256 966b4629df86b1d520ddd8a4e0a3fc00060b26b5ab4e172b596bd9d4659a196e openfpgaloader-0.10.0.tar.gz
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE

View File

@ -4,7 +4,7 @@
#
################################################################################
OPENFPGALOADER_VERSION = 0.6.1
OPENFPGALOADER_VERSION = 0.10.0
OPENFPGALOADER_SITE = $(call github,trabucayre,openFPGALoader,v$(OPENFPGALOADER_VERSION))
OPENFPGALOADER_LICENSE = Apache-2.0
OPENFPGALOADER_LICENSE_FILES = LICENSE
@ -24,4 +24,11 @@ else
OPENFPGALOADER_CONF_OPTS += -DENABLE_CMSISDAP=OFF
endif
ifeq ($(BR2_PACAKGE_OPENFPGALOADER_LIBGPIOD),y)
OPENFPGALOADER_DEPENDENCIES += libgpiod
OPENFPGALOADER_CONF_OPTS += -DENABLE_LIBGPIOD=ON
else
OPENFPGALOADER_CONF_OPTS += -DENABLE_LIBGPIOD=OFF
endif
$(eval $(cmake-package))