kernel-headers: remove deprecated versions 3.1, 3.3, 3.5
authorThomas De Schampheleire <patrickdepinguin@gmail.com>
Wed, 5 Feb 2014 13:50:59 +0000 (14:50 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 8 Feb 2014 22:43:24 +0000 (23:43 +0100)
The Linux kernel headers versions 3.1, 3.3, and 3.5 have been deprecated
since 2013.02 and thus can be removed in 2014.02.
For legacy handling, we automatically select versions 3.2, 3.4, and 3.6,
respectively.

Additionally, this patch removes the now unused symbol
BR2_DEPRECATED_SINCE_2013_02.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Config.in
Config.in.legacy
package/linux-headers/Config.in.host

index fcf70eb240f91765c47e0b997a869b1b4df32199..67fbcd50663436adaf2ccb709ae132ac370f10a7 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -264,10 +264,6 @@ config BR2_DEPRECATED
 
 if BR2_DEPRECATED
 
-config BR2_DEPRECATED_SINCE_2013_02
-       bool
-       default y
-
 config BR2_DEPRECATED_SINCE_2013_05
        bool
        default y
index fe91ecb545b8bbbb520d5bc64c91e328c34099ae..4424e31b5d2b01e5135d5d1cbfc7c75a08855511 100644 (file)
@@ -119,6 +119,36 @@ config BR2_sh3eb
          Due to an inexistent user base and generally poor Linux
          support, the support for the SH3eb architecture was removed.
 
+config BR2_KERNEL_HEADERS_3_1
+       bool "kernel headers version 3.1.x are no longer supported"
+       select BR2_KERNEL_HEADERS_3_2
+       select BR2_LEGACY
+       help
+         Version 3.1.x of the Linux kernel headers have been deprecated
+         for more than four buildroot releases and are now removed.
+         As an alternative, version 3.2.x of the headers have been
+         automatically selected in your configuration.
+
+config BR2_KERNEL_HEADERS_3_3
+       bool "kernel headers version 3.3.x are no longer supported"
+       select BR2_KERNEL_HEADERS_3_4
+       select BR2_LEGACY
+       help
+         Version 3.3.x of the Linux kernel headers have been deprecated
+         for more than four buildroot releases and are now removed.
+         As an alternative, version 3.4.x of the headers have been
+         automatically selected in your configuration.
+
+config BR2_KERNEL_HEADERS_3_5
+       bool "kernel headers version 3.5.x are no longer supported"
+       select BR2_KERNEL_HEADERS_3_6
+       select BR2_LEGACY
+       help
+         Version 3.5.x of the Linux kernel headers have been deprecated
+         for more than four buildroot releases and are now removed.
+         As an alternative, version 3.6.x of the headers have been
+         automatically selected in your configuration.
+
 config BR2_GDB_VERSION_7_2
        bool "gdb 7.2.x is no longer supported"
        select BR2_GDB_VERSION_7_5
index 65cf70cfcc2b016c5359fff285a8c3e7db0a2ccf..ea104f58d15a4990ca46d29218d18af8b755fe5c 100644 (file)
@@ -18,26 +18,14 @@ choice
                bool "Linux 3.0.x kernel headers"
                depends on !BR2_arc
 
-       config BR2_KERNEL_HEADERS_3_1
-               bool "Linux 3.1.x kernel headers"
-               depends on BR2_DEPRECATED_SINCE_2013_02 && !BR2_arc
-
        config BR2_KERNEL_HEADERS_3_2
                bool "Linux 3.2.x kernel headers"
                depends on !BR2_arc
 
-       config BR2_KERNEL_HEADERS_3_3
-               bool "Linux 3.3.x kernel headers"
-               depends on BR2_DEPRECATED_SINCE_2013_02 && !BR2_arc
-
        config BR2_KERNEL_HEADERS_3_4
                bool "Linux 3.4.x kernel headers"
                depends on !BR2_arc
 
-       config BR2_KERNEL_HEADERS_3_5
-               bool "Linux 3.5.x kernel headers"
-               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_SINCE_2013_05 && !BR2_arc
@@ -83,11 +71,8 @@ config BR2_DEFAULT_KERNEL_VERSION
 config BR2_DEFAULT_KERNEL_HEADERS
        string
        default "3.0.101"       if BR2_KERNEL_HEADERS_3_0
-       default "3.1.10"        if BR2_KERNEL_HEADERS_3_1
        default "3.2.54"        if BR2_KERNEL_HEADERS_3_2
-       default "3.3.8"         if BR2_KERNEL_HEADERS_3_3
        default "3.4.79"        if BR2_KERNEL_HEADERS_3_4
-       default "3.5.7"         if BR2_KERNEL_HEADERS_3_5
        default "3.6.11"        if BR2_KERNEL_HEADERS_3_6
        default "3.7.10"        if BR2_KERNEL_HEADERS_3_7
        default "3.8.13"        if BR2_KERNEL_HEADERS_3_8