mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -1,12 +1,32 @@
|
||||
config BR2_PACKAGE_OPENFPGALOADER
|
||||
bool "openfpgaloader"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi1
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi1 -> libusb
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
select BR2_PACKAGE_LIBFTDI1
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
Universal utility for programming FPGA
|
||||
|
||||
https://github.com/trabucayre/openFPGALoader/
|
||||
|
||||
comment "openfpgaloader needs a toolchain w/ threads, C++"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
|
||||
if BR2_PACKAGE_OPENFPGALOADER
|
||||
|
||||
config BR2_PACAKGE_OPENFPGALOADER_CMSIS
|
||||
bool "CMSIS-DAP support"
|
||||
depends on BR2_PACKAGE_HAS_UDEV # hidapi
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # hidapi -> libusb
|
||||
select BR2_PACKAGE_HIDAPI
|
||||
help
|
||||
openfpgaloader CMSIS-DAP support
|
||||
|
||||
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
|
||||
|
||||
endif
|
||||
|
||||
comment "openfpgaloader needs a toolchain w/ threads, C++, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 ef3ed60297ab560f15cd4362d61b7da86c44b84e18937e0411023f8d1cf6a606 openfpgaloader-381c67de00a3102cf6e9bb20ca84030a71c7a0f2.tar.gz
|
||||
sha256 8486a10c4393cee1c25392769ddd3b2d6c242d6ec7928e1414efff7dfb2f07ef LICENSE
|
||||
sha256 a862a209d696becff915a77512e6a8c22f92d73480a45cc12273d9ad1db60d23 openfpgaloader-0.6.1.tar.gz
|
||||
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENFPGALOADER_VERSION = 381c67de00a3102cf6e9bb20ca84030a71c7a0f2
|
||||
OPENFPGALOADER_SITE = $(call github,trabucayre,openFPGALoader,$(OPENFPGALOADER_VERSION))
|
||||
OPENFPGALOADER_LICENSE = AGPL-3.0
|
||||
OPENFPGALOADER_VERSION = 0.6.1
|
||||
OPENFPGALOADER_SITE = $(call github,trabucayre,openFPGALoader,v$(OPENFPGALOADER_VERSION))
|
||||
OPENFPGALOADER_LICENSE = Apache-2.0
|
||||
OPENFPGALOADER_LICENSE_FILES = LICENSE
|
||||
OPENFPGALOADER_DEPENDENCIES = libftdi1
|
||||
OPENFPGALOADER_DEPENDENCIES = libftdi1 zlib
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
OPENFPGALOADER_DEPENDENCIES += udev
|
||||
@@ -17,4 +17,11 @@ else
|
||||
OPENFPGALOADER_CONF_OPTS += -DENABLE_UDEV=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACAKGE_OPENFPGALOADER_CMSIS),y)
|
||||
OPENFPGALOADER_DEPENDENCIES += hidapi
|
||||
OPENFPGALOADER_CONF_OPTS += -DENABLE_CMSISDAP=ON
|
||||
else
|
||||
OPENFPGALOADER_CONF_OPTS += -DENABLE_CMSISDAP=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
||||
Reference in New Issue
Block a user