Config.in.legacy: fix misc. problems with libnfc-llcp removal
authorThomas De Schampheleire <patrickdepinguin@gmail.com>
Tue, 21 Jan 2014 07:54:13 +0000 (08:54 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 21 Jan 2014 20:58:26 +0000 (21:58 +0100)
The Config.in.legacy entry associated with the replacement of libnfc-llcp
was broken in multiple ways:

- it was not correctly added within the section for 2014.02 deprecation
  (recently fixed by Yann E. Morin with commit
  f169e5e1055600fda1b3ff0c852ee84d2ec80460)
- it still had select/depend statements from the original symbol, which
  should not be added in Config.in.legacy.
- it did not select the replacement symbol as to make the transition for
  users more convenient.
- indentation of the help text was not tab+2spaces.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Config.in.legacy

index 631286ae9717386b26facb96e960477fb1a6a205..40bc80516a7c80c91473fe4b4f88221792fd7bfa 100644 (file)
@@ -117,14 +117,13 @@ config BR2_PACKAGE_TTCP
          deprecated for more than four buildroot releases.
 
 config BR2_PACKAGE_LIBNFC_LLCP
-       bool "libnfc-llcp has been removed"
-       depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
-       select BR2_PACKAGE_LIBNFC
+       bool "libnfc-llcp has been replaced by libllcp"
        select BR2_LEGACY
+       select BR2_PACKAGE_LIBLLCP
        help
          The 'libnfc-llcp' package has been removed since upstream renamed
-          to 'libllcp'. We have added a new package for 'libllcp' and bumped
-          the version at the same time.
+         to 'libllcp'. We have added a new package for 'libllcp' and bumped
+         the version at the same time.
 
 config BR2_PACKAGE_SQUASHFS3
        bool "squashfs3 has been removed"