5bfc02c0ad
Fix a typo in the name of two configuration options. This repairs the selection of libgpiod support. Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Jean Burgat <jeanburgat33@gmail.com> Acked-by: Gwenhael Goavec-merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
35 lines
1016 B
Makefile
35 lines
1016 B
Makefile
################################################################################
|
|
#
|
|
# openfpgaloader
|
|
#
|
|
################################################################################
|
|
|
|
OPENFPGALOADER_VERSION = 0.10.0
|
|
OPENFPGALOADER_SITE = $(call github,trabucayre,openFPGALoader,v$(OPENFPGALOADER_VERSION))
|
|
OPENFPGALOADER_LICENSE = Apache-2.0
|
|
OPENFPGALOADER_LICENSE_FILES = LICENSE
|
|
OPENFPGALOADER_DEPENDENCIES = libftdi1 zlib
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
|
OPENFPGALOADER_DEPENDENCIES += udev
|
|
OPENFPGALOADER_CONF_OPTS += -DENABLE_UDEV=ON
|
|
else
|
|
OPENFPGALOADER_CONF_OPTS += -DENABLE_UDEV=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENFPGALOADER_CMSIS),y)
|
|
OPENFPGALOADER_DEPENDENCIES += hidapi
|
|
OPENFPGALOADER_CONF_OPTS += -DENABLE_CMSISDAP=ON
|
|
else
|
|
OPENFPGALOADER_CONF_OPTS += -DENABLE_CMSISDAP=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENFPGALOADER_LIBGPIOD),y)
|
|
OPENFPGALOADER_DEPENDENCIES += libgpiod
|
|
OPENFPGALOADER_CONF_OPTS += -DENABLE_LIBGPIOD=ON
|
|
else
|
|
OPENFPGALOADER_CONF_OPTS += -DENABLE_LIBGPIOD=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|