2020-02-18 09:32:47 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# openfpgaloader
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-08-24 10:38:38 +02:00
|
|
|
OPENFPGALOADER_VERSION = 381c67de00a3102cf6e9bb20ca84030a71c7a0f2
|
2020-02-18 09:32:47 +01:00
|
|
|
OPENFPGALOADER_SITE = $(call github,trabucayre,openFPGALoader,$(OPENFPGALOADER_VERSION))
|
|
|
|
OPENFPGALOADER_LICENSE = AGPL-3.0
|
|
|
|
OPENFPGALOADER_LICENSE_FILES = LICENSE
|
2020-08-24 10:38:38 +02:00
|
|
|
OPENFPGALOADER_DEPENDENCIES = libftdi1
|
2020-02-18 09:32:47 +01:00
|
|
|
|
2020-08-24 10:38:38 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
|
|
|
OPENFPGALOADER_DEPENDENCIES += udev
|
|
|
|
OPENFPGALOADER_CONF_OPTS += -DENABLE_UDEV=ON
|
|
|
|
else
|
|
|
|
OPENFPGALOADER_CONF_OPTS += -DENABLE_UDEV=OFF
|
2020-02-18 09:32:47 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|