aboutsummaryrefslogtreecommitdiff
path: root/package/gob2
diff options
context:
space:
mode:
authorGravatar Thomas De Schampheleire <patrickdepinguin@gmail.com>2014-01-03 17:02:50 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-01-10 15:03:53 +0100
commitba4ad9d27c4ddf9f2d1368a978f622bd66850e72 (patch)
tree3b6686b7b17e87947adf00291dd19930667c6196 /package/gob2
parentb4a28e6c5cb4c74649990f5256cf0f7971c1abec (diff)
downloadbuildroot-ba4ad9d27c4ddf9f2d1368a978f622bd66850e72.tar.gz
buildroot-ba4ad9d27c4ddf9f2d1368a978f622bd66850e72.tar.bz2
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>
Diffstat (limited to 'package/gob2')
-rw-r--r--package/gob2/Config.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/gob2/Config.in b/package/gob2/Config.in
index faeb8b3e7b..bd9ba1f260 100644
--- a/package/gob2/Config.in
+++ b/package/gob2/Config.in
@@ -7,7 +7,7 @@ config BR2_PACKAGE_GOB2
select BR2_PACKAGE_FLEX
select BR2_PACKAGE_BISON
# development tool, useless on the target
- depends on BR2_DEPRECATED
+ depends on BR2_DEPRECATED_SINCE_2014_02
help
GOB (GTK+ Object Builder) is a preprocessor which simplifies
the writing of GObjects in C.
@@ -16,4 +16,5 @@ config BR2_PACKAGE_GOB2
comment "gob2 needs a toolchain w/ wchar"
depends on BR2_USE_MMU
+ depends on BR2_DEPRECATED_SINCE_2014_02
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS