config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Apr 15 00:22:42 2011 +0200 (2011-04-15)
changeset 2544 751c3f735ada
parent 2514 8bb5151c5b01
child 2566 4d898ff53231
permissions -rw-r--r--
scripts/internals: do not remove lib{32,64}/ symlinks after build

During the build, we create lib{32,64}/ symlinks out of the sysroot.
In some cases (eg. mingw32 target), these symlinks are still required
when running the toolchain. For other combinations, the symlinks are
without incidence, so they can be safely kept after the build.

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