![Thomas Petazzoni](/assets/img/avatar_default.png)
The BR2_PACKAGE_XSERVER_xorg and BR2_PACKAGE_XSERVER_tinyx options used to select the style of X.org server to use are not named consistently with the rest of the Buildroot options (in capital letters and prefixed with the package name). Therefore, we rename those options, and we take care to add the old option names in the BR2_LEGACY infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
98 lines
3.3 KiB
Plaintext
98 lines
3.3 KiB
Plaintext
#
|
|
# Config.in.legacy - support for backward compatibility
|
|
#
|
|
# When an existing Config.in symbol is removed, it should be added again in this
|
|
# file, and take appropriate action to approximate backward compatibility. If
|
|
# there is an equivalent (set of) new symbols, these can just be select'ed by
|
|
# the old symbol. This makes sure that running 'make oldconfig' will make things
|
|
# "just work" when upgrading to a new buildroot version. If the change is too
|
|
# fundamental and cannot be fixed by a simple select, then the old symbol should
|
|
# select BR2_LEGACY. If that symbol is set, the build will issue an error.
|
|
#
|
|
# When adding legacy symbols to this file, add them to the front. The oldest
|
|
# symbols will be removed again after about two years.
|
|
#
|
|
# The symbol should be copied as-is from the place where it was previously
|
|
# defined, but the help text should be removed or replaced with something that
|
|
# explains how to fix it.
|
|
|
|
config BR2_LEGACY
|
|
bool
|
|
help
|
|
This option is selected automatically when your old .config uses an
|
|
option that no longer exists in current buildroot. In that case, the
|
|
build will fail. Look for config options which are selected in the
|
|
menu below: they no longer exist and should be replaced by something
|
|
else.
|
|
|
|
# This comment fits exactly in a 80-column display
|
|
comment "Legacy detected: check the content of the menu below"
|
|
depends on BR2_LEGACY
|
|
|
|
# This option should get a new name with every buildroot release, so it defaults
|
|
# to y again for people who upgrade.
|
|
menuconfig BR2_LEGACY_CHECK_2012_11
|
|
bool "Check for legacy config options"
|
|
default y
|
|
help
|
|
Select this option to see the config options that are present in your
|
|
current .config but are no longer supported by buildroot. If any of
|
|
the options in this menu is selected, they should be replaced with
|
|
something else. As long as they stay selected, the build will fail.
|
|
Just de-select this option to automatically remove all the legacy
|
|
configuration.
|
|
|
|
if BR2_LEGACY_CHECK_2012_11
|
|
|
|
#
|
|
# Legacy options from 2012.08
|
|
#
|
|
|
|
config BR2_PACKAGE_GETTEXT_STATIC
|
|
bool "libgettext.a is now selected by BR2_PREFER_STATIC_LIB"
|
|
select BR2_LEGACY
|
|
help
|
|
To build a static gettext library, select BR2_PREFER_STATIC_LIB.
|
|
|
|
|
|
config BR2_PACKAGE_LIBINTL
|
|
bool "libintl"
|
|
select BR2_LEGACY
|
|
select BR2_PACKAGE_GETTEXT
|
|
help
|
|
libintl is now installed by selecting BR2_PACKAGE_GETTEXT. This now
|
|
only installs the library, not the executables.
|
|
|
|
config BR2_PACKAGE_INPUT_TOOLS_EVTEST
|
|
bool "input-tools evtest is now a separate package evtest"
|
|
select BR2_LEGACY
|
|
select BR2_PACKAGE_EVTEST
|
|
help
|
|
The evtest program from input-tools is now a separate package.
|
|
|
|
config BR2_PACKAGE_PTHREAD_STUBS
|
|
bool "pthread-stubs option has been renamed"
|
|
select BR2_LEGACY
|
|
select BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS
|
|
help
|
|
For consistency reason, the pthread-stubs package has been
|
|
renamed to xlib_libpthread-stubs.
|
|
|
|
config BR2_PACKAGE_XSERVER_xorg
|
|
bool "X.org modular server"
|
|
select BR2_LEGACY
|
|
select BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
|
|
help
|
|
The option has been renamed
|
|
BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR.
|
|
|
|
config BR2_PACKAGE_XSERVER_tinyx
|
|
bool "KDrive / TinyX server"
|
|
select BR2_LEGACY
|
|
select BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE
|
|
help
|
|
The option has been renamed
|
|
BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE.
|
|
|
|
endif
|