libftdi: rename option to have proper prefix
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 13 May 2018 19:07:32 +0000 (21:07 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 21 May 2018 21:08:47 +0000 (23:08 +0200)
The option name BR2_PACKAGE_LIBTFDI_CPP obviously had a typo: it
should have been named BR2_PACKAGE_LIBFTDI_CPP, and add the necessary
Config.in.legacy handling.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Config.in.legacy
package/libftdi/Config.in
package/libftdi/libftdi.mk

index f1938a13d2b6d559b25fc3ffd3623176bfbe602a..7ec952671079c2914551f284593096f4c4583e84 100644 (file)
@@ -145,6 +145,15 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2018.05"
 
+config BR2_PACKAGE_LIBTFDI_CPP
+       bool "libftdi C++ bindings option renamed"
+       select BR2_LEGACY
+       select BR2_PACKAGE_LIBFTDI_CPP
+       help
+         The option BR2_PACKAGE_LIBTFDI_CPP was renamed to
+         BR2_PACKAGE_LIBFTDI_CPP in order to fix a typo in the option
+         name.
+
 config BR2_PACKAGE_JQUERY_UI_THEME_BLACK_TIE
        bool "jquery-ui-themes option black-tie renamed"
        select BR2_LEGACY
index beb42d34c5cdebd36d145e04bc51b6ad36e2bbd0..23dae1be1f8d134526a9c65e8f01f1ccf7b74176 100644 (file)
@@ -10,7 +10,7 @@ config BR2_PACKAGE_LIBFTDI
 
 if BR2_PACKAGE_LIBFTDI
 
-config BR2_PACKAGE_LIBTFDI_CPP
+config BR2_PACKAGE_LIBFTDI_CPP
        bool "C++ bindings"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR
index c1952ac68befb573ee7815b7211528cc9dbd213d..cdd77c2e68ece4ae9ccd36db598f5833266f3f47 100644 (file)
@@ -15,7 +15,7 @@ LIBFTDI_AUTORECONF = YES
 LIBFTDI_CONF_OPTS = --without-examples
 
 # configure detect it automaticaly so we need to force it
-ifeq ($(BR2_PACKAGE_LIBTFDI_CPP),y)
+ifeq ($(BR2_PACKAGE_LIBFTDI_CPP),y)
 LIBFTDI_DEPENDENCIES += boost
 LIBFTDI_CONF_OPTS += --enable-libftdipp
 else