Config.in.legacy 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #
  2. # Config.in.legacy - support for backward compatibility
  3. #
  4. # When an existing Config.in symbol is removed, it should be added again in this
  5. # file, and take appropriate action to approximate backward compatibility. If
  6. # there is an equivalent (set of) new symbols, these can just be select'ed by
  7. # the old symbol. This makes sure that running 'make oldconfig' will make things
  8. # "just work" when upgrading to a new buildroot version. If the change is too
  9. # fundamental and cannot be fixed by a simple select, then the old symbol should
  10. # select BR2_LEGACY. If that symbol is set, the build will issue an error.
  11. #
  12. # When adding legacy symbols to this file, add them to the front. The oldest
  13. # symbols will be removed again after about two years.
  14. #
  15. # The symbol should be copied as-is from the place where it was previously
  16. # defined, but the help text should be removed or replaced with something that
  17. # explains how to fix it.
  18. config BR2_LEGACY
  19. bool
  20. help
  21. This option is selected automatically when your old .config uses an
  22. option that no longer exists in current buildroot. In that case, the
  23. build will fail. Look for config options which are selected in the
  24. menu below: they no longer exist and should be replaced by something
  25. else.
  26. # This comment fits exactly in a 80-column display
  27. comment "Legacy detected: check the content of the menu below"
  28. depends on BR2_LEGACY
  29. # This option should get a new name with every buildroot release, so it defaults
  30. # to y again for people who upgrade.
  31. menuconfig BR2_LEGACY_CHECK_2012_11
  32. bool "Check for legacy config options"
  33. default y
  34. help
  35. Select this option to see the config options that are present in your
  36. current .config but are no longer supported by buildroot. If any of
  37. the options in this menu is selected, they should be replaced with
  38. something else. As long as they stay selected, the build will fail.
  39. Just de-select this option to automatically remove all the legacy
  40. configuration.
  41. if BR2_LEGACY_CHECK_2012_11
  42. #
  43. # Legacy options from 2012.08
  44. #
  45. config BR2_PACKAGE_GETTEXT_STATIC
  46. bool "libgettext.a is now selected by BR2_PREFER_STATIC_LIB"
  47. select BR2_LEGACY
  48. help
  49. To build a static gettext library, select BR2_PREFER_STATIC_LIB.
  50. config BR2_PACKAGE_LIBINTL
  51. bool "libintl"
  52. select BR2_LEGACY
  53. select BR2_PACKAGE_GETTEXT
  54. help
  55. libintl is now installed by selecting BR2_PACKAGE_GETTEXT. This now
  56. only installs the library, not the executables.
  57. config BR2_PACKAGE_INPUT_TOOLS_EVTEST
  58. bool "input-tools evtest is now a separate package evtest"
  59. select BR2_LEGACY
  60. select BR2_PACKAGE_EVTEST
  61. help
  62. The evtest program from input-tools is now a separate package.
  63. endif