config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Aug 14 16:05:33 2011 +0200 (2011-08-14)
changeset 2602 242695a00db5
parent 2596 efe5f40c84c1
child 2603 461b9c476104
permissions -rw-r--r--
kernel/linux: deprecate copying headers from pre-instaleld headers

No-one ever inquired about this feature. Due to the way it works, it is
rather unlikely that every user used a properly-formatted tarball, or a
properly structured directory as imput.

Beside, it is not really easy to maintain: I just spent one full day
remembering how it worked... Sigh... :-(

Just deprecate this, until next release, or until someone complains.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@448
     1
# Linux kernel options
yann@448
     2
yann@2444
     3
## select KERNEL_SUPPORTS_SHARED_LIBS
yann@2444
     4
##
yann@2444
     5
## help Build a toolchain targeting systems running Linux as a kernel.
yann@2446
     6
yann@2446
     7
config KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@2446
     8
    bool
yann@2602
     9
    prompt "Use pre-installed headers tree (OBSOLETE)"
yann@2602
    10
    depends on OBSOLETE
yann@2446
    11
    help
yann@2446
    12
      If you have some pre-installed kernel headers lying around, you can
yann@2446
    13
      enter the path to these headers, below, they will be copied from
yann@2446
    14
      there, and into the toolchain's sysroot.
yann@2446
    15
      
yann@2446
    16
      Note:
yann@2446
    17
      This will *not* let you use a complete kernel tree!
yann@2602
    18
      If you want to use your own full kernel tree, then you want to say 'N'
yann@2602
    19
      here, and select KERNEL_LINUX_CUSTOM, in the versions list, below.
yann@2446
    20
yann@2602
    21
config KERNEL_LINUX_INSTALL
yann@2602
    22
    bool
yann@2602
    23
    default y if ! KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@2446
    24
yann@2446
    25
if KERNEL_LINUX_INSTALL
yann@2446
    26
yann@2446
    27
choice
yann@2446
    28
    bool
yann@2446
    29
    prompt "Linux kernel version"
yann@2446
    30
# Don't remove next line
yann@2446
    31
# CT_INSERT_VERSION_BELOW
yann@2446
    32
yann@2596
    33
config KERNEL_V_3_0_1
yann@2596
    34
    bool
yann@2596
    35
    prompt "3.0.1"
yann@2596
    36
yann@2568
    37
config KERNEL_V_3_0
yann@2568
    38
    bool
yann@2568
    39
    prompt "3.0"
yann@2568
    40
yann@2596
    41
config KERNEL_V_2_6_39_4
yann@2566
    42
    bool
yann@2596
    43
    prompt "2.6.39.4"
yann@2473
    44
bryanhundven@2513
    45
config KERNEL_V_2_6_38_8
yann@2473
    46
    bool
bryanhundven@2513
    47
    prompt "2.6.38.8"
yann@2446
    48
yann@2446
    49
config KERNEL_V_2_6_37_6
yann@2446
    50
    bool
yann@2446
    51
    prompt "2.6.37.6"
yann@2446
    52
yann@2446
    53
config KERNEL_V_2_6_36_4
yann@2446
    54
    bool
yann@2446
    55
    prompt "2.6.36.4"
yann@2446
    56
yann@2596
    57
config KERNEL_V_2_6_35_14
yann@2446
    58
    bool
yann@2596
    59
    prompt "2.6.35.14 (longterm)"
yann@2446
    60
    help
yann@2446
    61
      The Linux 2.6.35 tree is a "longterm" maintenance branch.
yann@2446
    62
      
yann@2446
    63
      It is intended to fill the niche for users who are not using distribution
yann@2446
    64
      kernels but want to use a regression-free kernel for a longer time.
yann@2446
    65
      
yann@2446
    66
      Critical bug fixes to later 2.6 releases are often ported to this branch
yann@2446
    67
      which makes 2.6.35 a very useful base for many embedded developers seeking
yann@2446
    68
      stable APIs or those who do not need the latest bleeding edge features.
yann@2446
    69
      
yann@2446
    70
      ... and no, this kernel has not undergone any specific QA testing.
yann@2446
    71
      
yann@2446
    72
      See the original announcement by Andi Kleen in the following mailing
yann@2446
    73
      list entry:
yann@2446
    74
        http://marc.info/?l=linux-kernel&m=129136895415202&w=4
yann@2446
    75
bryanhundven@2517
    76
config KERNEL_V_2_6_34_10
yann@2446
    77
    bool
bryanhundven@2517
    78
    prompt "2.6.34.10"
yann@2446
    79
yann@2596
    80
config KERNEL_V_2_6_33_17
yann@2446
    81
    bool
yann@2596
    82
    prompt "2.6.33.17"
yann@2596
    83
    help
yann@2596
    84
      This is primarily for the use of those people who are stuck using the
yann@2596
    85
      .33-rt kernel.  Anyone else who really wants to use the .33 kernel tree
yann@2596
    86
      is welcome to use this one as well.
yann@2446
    87
yann@2596
    88
config KERNEL_V_2_6_32_44
yann@2446
    89
    bool
yann@2596
    90
    prompt "2.6.32.44 (longterm)"
yann@2446
    91
    help
yann@2446
    92
      The Linux 2.6.32 tree is a "longterm" maintenance branch.
yann@2446
    93
      
yann@2446
    94
      It is intended to fill the niche for users who are not using distribution
yann@2446
    95
      kernels but want to use a regression-free kernel for a longer time.
yann@2446
    96
      
yann@2446
    97
      Critical bug fixes to later 2.6 releases are often ported to this branch
yann@2446
    98
      which makes 2.6.32 a very useful base for many embedded developers seeking
yann@2446
    99
      stable APIs or those who do not need the latest bleeding edge features.
yann@2446
   100
      
yann@2446
   101
      ... and no, this kernel has not undergone any specific QA testing.
yann@2446
   102
      
yann@2446
   103
      See the original announcement by Greg Kroah-Hartman in the following
yann@2446
   104
      mailing list entry:
yann@2446
   105
        http://marc.info/?l=linux-kernel&m=126384198403392&w=4
yann@2446
   106
yann@2446
   107
config KERNEL_V_2_6_31_14
yann@2446
   108
    bool
yann@2446
   109
    prompt "2.6.31.14"
yann@2446
   110
yann@2473
   111
config KERNEL_V_2_6_27_59
yann@2446
   112
    bool
yann@2473
   113
    prompt "2.6.27.59 (longterm)"
yann@2446
   114
    help
yann@2446
   115
      The Linux 2.6.27 tree is a "longterm" maintenance branch.
yann@2446
   116
      
yann@2446
   117
      It is intended to fill the niche for users who are not using distribution
yann@2446
   118
      kernels but want to use a regression-free kernel for a longer time.
yann@2446
   119
      
yann@2446
   120
      Critical bug fixes to later 2.6 releases are often ported to this branch
yann@2446
   121
      which makes 2.6.27 a very useful base for many embedded developers seeking
yann@2446
   122
      stable APIs or those who do not need the latest bleeding edge features.
yann@2446
   123
      
yann@2446
   124
      ... and no, this kernel has not undergone any specific QA testing.
yann@2446
   125
      
yann@2446
   126
      See the original announcement by Adrian Bunk in the following mailing list
yann@2446
   127
      entry:
yann@2446
   128
        http://marc.info/?l=linux-kernel&m=122375909403298&w=4
yann@2446
   129
      
yann@2446
   130
      It is now maintained by Greg Kroah-Hartman, see this mailing list entry:
yann@2446
   131
        http://marc.info/?l=linux-kernel&m=129133701916793&w=4
yann@2446
   132
yann@2446
   133
config KERNEL_LINUX_CUSTOM
yann@2446
   134
    bool
yann@2446
   135
    prompt "custom tarball"
yann@2446
   136
    help
yann@2446
   137
      Use a local tarball of a complete kernel source tree.
yann@2446
   138
yann@2446
   139
config KERNEL_LINUX_CUSTOM_TARBALL
yann@2446
   140
    string
yann@2446
   141
    prompt "Path to custom tarball"
yann@2446
   142
    depends on KERNEL_LINUX_CUSTOM
yann@2446
   143
    help
yann@2446
   144
      Enter here the path to the tarball of your full kernel tree.
yann@2446
   145
yann@2446
   146
endchoice
yann@2446
   147
yann@2446
   148
config KERNEL_VERSION
yann@2446
   149
    string
yann@2446
   150
# Don't remove next line
yann@2446
   151
# CT_INSERT_VERSION_STRING_BELOW
yann@2596
   152
    default "3.0.1" if KERNEL_V_3_0_1
yann@2568
   153
    default "3.0" if KERNEL_V_3_0
yann@2596
   154
    default "2.6.39.4" if KERNEL_V_2_6_39_4
bryanhundven@2513
   155
    default "2.6.38.8" if KERNEL_V_2_6_38_8
yann@2446
   156
    default "2.6.37.6" if KERNEL_V_2_6_37_6
yann@2446
   157
    default "2.6.36.4" if KERNEL_V_2_6_36_4
yann@2596
   158
    default "2.6.35.14" if KERNEL_V_2_6_35_14
bryanhundven@2517
   159
    default "2.6.34.10" if KERNEL_V_2_6_34_10
yann@2596
   160
    default "2.6.33.17" if KERNEL_V_2_6_33_17
yann@2596
   161
    default "2.6.32.44" if KERNEL_V_2_6_32_44
yann@2446
   162
    default "2.6.31.14" if KERNEL_V_2_6_31_14
yann@2473
   163
    default "2.6.27.59" if KERNEL_V_2_6_27_59
yann@2446
   164
yann@2446
   165
endif # KERNEL_LINUX_INSTALL
yann@2446
   166
yann@2446
   167
if KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@2446
   168
yann@2446
   169
config KERNEL_LINUX_CUSTOM_PATH
yann@2446
   170
    string
yann@2446
   171
    prompt "Path to custom headers directory/tarball"
yann@2446
   172
    help
yann@2446
   173
      See KERNEL_LINUX_CUSTOM_IS_TARBALL, below.
yann@2446
   174
yann@2446
   175
config KERNEL_LINUX_CUSTOM_IS_TARBALL
yann@2446
   176
    bool
yann@2446
   177
    prompt "This is a tarball"
yann@2446
   178
    help
yann@2446
   179
      If you say 'n' here, the path above is expected to point to a directory
yann@2446
   180
      containing readily prepared headers
yann@2446
   181
      
yann@2446
   182
      If you say 'y' here, then the path above is expected to point to a
yann@2446
   183
      tarball of such a directory.
yann@2446
   184
      
yann@2446
   185
      Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
yann@2446
   186
      say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
yann@2446
   187
      
yann@2446
   188
      Now, passing a tarball around is easier than passing a directory, so
yann@2446
   189
      if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
yann@2446
   190
      say 'y' here, and enter the path to this tarball below.
yann@2446
   191
yann@2446
   192
endif # KERNEL_LINUX_USE_CUSTOM_HEADERS