package/openfpgaloader: fix typos

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>
This commit is contained in:
Vincent Stehlé 2023-03-06 22:16:46 +01:00 committed by Thomas Petazzoni
parent f969665d8f
commit 5bfc02c0ad
3 changed files with 12 additions and 3 deletions

View File

@ -144,6 +144,15 @@ endif
###############################################################################
comment "Legacy options removed in 2023.05"
config BR2_PACAKGE_OPENFPGALOADER_CMSIS
bool "openfpgaloader cmsis option name fixed"
select BR2_LEGACY
help
A typo on BR2_PACAKGE_OPENFPGALOADER_CMSIS was fixed by
renaming the option to BR2_PACKAGE_OPENFPGALOADER_CMSIS.
comment "Legacy options removed in 2023.02"
config BR2_KERNEL_HEADERS_6_0

View File

@ -12,7 +12,7 @@ config BR2_PACKAGE_OPENFPGALOADER
if BR2_PACKAGE_OPENFPGALOADER
config BR2_PACAKGE_OPENFPGALOADER_CMSIS
config BR2_PACKAGE_OPENFPGALOADER_CMSIS
bool "CMSIS-DAP support"
depends on BR2_PACKAGE_HAS_UDEV # hidapi
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi

View File

@ -17,14 +17,14 @@ else
OPENFPGALOADER_CONF_OPTS += -DENABLE_UDEV=OFF
endif
ifeq ($(BR2_PACAKGE_OPENFPGALOADER_CMSIS),y)
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_PACAKGE_OPENFPGALOADER_LIBGPIOD),y)
ifeq ($(BR2_PACKAGE_OPENFPGALOADER_LIBGPIOD),y)
OPENFPGALOADER_DEPENDENCIES += libgpiod
OPENFPGALOADER_CONF_OPTS += -DENABLE_LIBGPIOD=ON
else