mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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:
committed by
Thomas Petazzoni
parent
7087e5286d
commit
0fd1f8a892
@@ -24,6 +24,16 @@ config BR2_PACAKGE_OPENFPGALOADER_CMSIS
|
|||||||
comment "openfpgaloader CMSIS-DAP needs udev /dev management and a toolchain w/ NPTL threads"
|
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
|
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
|
endif
|
||||||
|
|
||||||
comment "openfpgaloader needs a toolchain w/ threads, C++, gcc >= 4.9"
|
comment "openfpgaloader needs a toolchain w/ threads, C++, gcc >= 4.9"
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# Locally computed
|
# Locally computed
|
||||||
sha256 a862a209d696becff915a77512e6a8c22f92d73480a45cc12273d9ad1db60d23 openfpgaloader-0.6.1.tar.gz
|
sha256 966b4629df86b1d520ddd8a4e0a3fc00060b26b5ab4e172b596bd9d4659a196e openfpgaloader-0.10.0.tar.gz
|
||||||
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
|
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
OPENFPGALOADER_VERSION = 0.6.1
|
OPENFPGALOADER_VERSION = 0.10.0
|
||||||
OPENFPGALOADER_SITE = $(call github,trabucayre,openFPGALoader,v$(OPENFPGALOADER_VERSION))
|
OPENFPGALOADER_SITE = $(call github,trabucayre,openFPGALoader,v$(OPENFPGALOADER_VERSION))
|
||||||
OPENFPGALOADER_LICENSE = Apache-2.0
|
OPENFPGALOADER_LICENSE = Apache-2.0
|
||||||
OPENFPGALOADER_LICENSE_FILES = LICENSE
|
OPENFPGALOADER_LICENSE_FILES = LICENSE
|
||||||
@@ -24,4 +24,11 @@ else
|
|||||||
OPENFPGALOADER_CONF_OPTS += -DENABLE_CMSISDAP=OFF
|
OPENFPGALOADER_CONF_OPTS += -DENABLE_CMSISDAP=OFF
|
||||||
endif
|
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))
|
$(eval $(cmake-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user