From ba4ad9d27c4ddf9f2d1368a978f622bd66850e72 Mon Sep 17 00:00:00 2001 From: Thomas De Schampheleire Date: Fri, 3 Jan 2014 17:02:50 +0100 Subject: 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 Acked-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Peter Korsgaard --- package/m4/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/m4') diff --git a/package/m4/Config.in b/package/m4/Config.in index 7830b22aeb..e2ce5b3ed6 100644 --- a/package/m4/Config.in +++ b/package/m4/Config.in @@ -4,12 +4,13 @@ config BR2_PACKAGE_M4 # uses fork() depends on BR2_USE_MMU # development tool, useless on the target - depends on BR2_DEPRECATED + depends on BR2_DEPRECATED_SINCE_2014_02 help An implementation of the traditional Unix macro processor. http://www.gnu.org/software/m4/m4.html comment "m4 needs a toolchain w/ wchar" + depends on BR2_DEPRECATED_SINCE_2014_02 depends on BR2_USE_MMU depends on !BR2_USE_WCHAR -- cgit v1.2.1