diff options
| author | Thomas De Schampheleire <patrickdepinguin@gmail.com> | 2014-01-03 17:02:50 +0100 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2014-01-10 15:03:53 +0100 |
| commit | ba4ad9d27c4ddf9f2d1368a978f622bd66850e72 (patch) | |
| tree | 3b6686b7b17e87947adf00291dd19930667c6196 /package/linux-headers | |
| parent | b4a28e6c5cb4c74649990f5256cf0f7971c1abec (diff) | |
| download | buildroot-ba4ad9d27c4ddf9f2d1368a978f622bd66850e72.tar.gz buildroot-ba4ad9d27c4ddf9f2d1368a978f622bd66850e72.zip | |
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/linux-headers')
| -rw-r--r-- | package/linux-headers/Config.in.host | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index f628a7459f..6d7b447be4 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -20,7 +20,7 @@ choice config BR2_KERNEL_HEADERS_3_1 bool "Linux 3.1.x kernel headers" - depends on BR2_DEPRECATED && !BR2_arc + depends on BR2_DEPRECATED_SINCE_2013_02 && !BR2_arc config BR2_KERNEL_HEADERS_3_2 bool "Linux 3.2.x kernel headers" @@ -28,7 +28,7 @@ choice config BR2_KERNEL_HEADERS_3_3 bool "Linux 3.3.x kernel headers" - depends on BR2_DEPRECATED && !BR2_arc + depends on BR2_DEPRECATED_SINCE_2013_02 && !BR2_arc config BR2_KERNEL_HEADERS_3_4 bool "Linux 3.4.x kernel headers" @@ -36,23 +36,23 @@ choice config BR2_KERNEL_HEADERS_3_5 bool "Linux 3.5.x kernel headers" - depends on BR2_DEPRECATED && !BR2_arc + depends on BR2_DEPRECATED_SINCE_2013_02 && !BR2_arc config BR2_KERNEL_HEADERS_3_6 bool "Linux 3.6.x kernel headers" - depends on BR2_DEPRECATED && !BR2_arc + depends on BR2_DEPRECATED_SINCE_2013_05 && !BR2_arc config BR2_KERNEL_HEADERS_3_7 bool "Linux 3.7.x kernel headers" - depends on BR2_DEPRECATED && !BR2_arc + depends on BR2_DEPRECATED_SINCE_2013_05 && !BR2_arc config BR2_KERNEL_HEADERS_3_8 bool "Linux 3.8.x kernel headers" - depends on BR2_DEPRECATED && !BR2_arc + depends on BR2_DEPRECATED_SINCE_2013_08 && !BR2_arc config BR2_KERNEL_HEADERS_3_9 bool "Linux 3.9.x kernel headers" - depends on BR2_DEPRECATED + depends on BR2_DEPRECATED_SINCE_2013_11 config BR2_KERNEL_HEADERS_3_10 bool "Linux 3.10.x kernel headers" |

