deprecated handling: introduce BR2_DEPRECATED_SINCE_xxxx_xx
authorThomas De Schampheleire <patrickdepinguin@gmail.com>
Fri, 3 Jan 2014 16:02:50 +0000 (17:02 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 10 Jan 2014 14:03:53 +0000 (15:03 +0100)
commitba4ad9d27c4ddf9f2d1368a978f622bd66850e72
tree3b6686b7b17e87947adf00291dd19930667c6196
parentb4a28e6c5cb4c74649990f5256cf0f7971c1abec
deprecated handling: introduce BR2_DEPRECATED_SINCE_xxxx_xx

In order to keep better track of when a feature got deprecated, and hence
when it can be removed, a new set of symbols BR2_DEPRECATED_SINCE_xxxx_xx is
introduced. These symbols are automatically selected when BR2_DEPRECATED is
selected, and thus are transparent to the user.
A deprecated feature will no longer depend on BR2_DEPRECATED directly, but
rather on the appropriate BR2_DEPRECATED_SINCE_xxxx_xx. If that symbol does
not yet exist, it has to be created in Config.in.
When removing a deprecated feature, one should also check whether this was
the last feature using the BR2_DEPRECATED_SINCE_xxxx_xx symbol, in which
case the latter can be removed from Config.in.

A followup patch will make sure the overview is added to the list of
deprecated features in the manual, so that a buildroot core developer can
easily determine which features to remove in a given development cycle.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
21 files changed:
Config.in
arch/Config.in.mips
fs/squashfs/Config.in
package/autoconf/Config.in
package/automake/Config.in
package/bison/Config.in
package/busybox/Config.in
package/ccache/Config.in
package/flex/Config.in
package/gcc/Config.in.host
package/gdb/Config.in.host
package/gob2/Config.in
package/linux-headers/Config.in.host
package/lzma/Config.in
package/m4/Config.in
package/squashfs3/Config.in
package/ttcp/Config.in
package/vala/Config.in
package/xstroke/Config.in
support/scripts/gen-manual-lists.py
toolchain/toolchain-external/Config.in