config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 17:54:21 2011 +0200 (2011-07-17)
changeset 2888 dd71df95903a
parent 2879 e947c64136dc
child 2902 9c0ff084f02b
permissions -rw-r--r--
cc/gcc: pass the companion libs prefix to cc_core

In case of canadian-cross, the companion libraries are not the same for
the core cc (they run on 'build') as they are for the final cc (they run
on 'host').

Prepare for this differentiation (coming later), while retaining the
current behavior (to use the same compblibs).

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@2603
    21
if ! KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@2446
    22
yann@2446
    23
choice
yann@2446
    24
    bool
yann@2446
    25
    prompt "Linux kernel version"
yann@2446
    26
# Don't remove next line
yann@2446
    27
# CT_INSERT_VERSION_BELOW
yann@2446
    28
yann@2885
    29
config KERNEL_V_3_2_6
yann@2885
    30
    bool
yann@2885
    31
    prompt "3.2.6"
yann@2885
    32
benoit@2879
    33
config KERNEL_V_3_2_5
benoit@2879
    34
    bool
benoit@2879
    35
    prompt "3.2.5"
benoit@2879
    36
benoit@2879
    37
config KERNEL_V_3_2_4
benoit@2879
    38
    bool
benoit@2879
    39
    prompt "3.2.4"
benoit@2879
    40
benoit@2879
    41
config KERNEL_V_3_2_3
benoit@2879
    42
    bool
benoit@2879
    43
    prompt "3.2.3"
benoit@2879
    44
yann@2852
    45
config KERNEL_V_3_2_2
yann@2852
    46
    bool
yann@2852
    47
    prompt "3.2.2"
yann@2852
    48
yann@2833
    49
config KERNEL_V_3_2_1
yann@2833
    50
    bool
yann@2833
    51
    prompt "3.2.1"
yann@2833
    52
yann@2832
    53
config KERNEL_V_3_2
yann@2812
    54
    bool
yann@2832
    55
    prompt "3.2"
yann@2812
    56
yann@2852
    57
config KERNEL_V_3_1_10
yann@2799
    58
    bool
yann@2852
    59
    prompt "3.1.10"
yann@2799
    60
yann@2885
    61
config KERNEL_V_3_0_21
yann@2799
    62
    bool
yann@2885
    63
    prompt "3.0.21"
yann@2568
    64
yann@2596
    65
config KERNEL_V_2_6_39_4
yann@2566
    66
    bool
yann@2596
    67
    prompt "2.6.39.4"
yann@2473
    68
bryanhundven@2513
    69
config KERNEL_V_2_6_38_8
yann@2473
    70
    bool
bryanhundven@2513
    71
    prompt "2.6.38.8"
yann@2446
    72
yann@2446
    73
config KERNEL_V_2_6_37_6
yann@2446
    74
    bool
yann@2446
    75
    prompt "2.6.37.6"
yann@2446
    76
yann@2446
    77
config KERNEL_V_2_6_36_4
yann@2446
    78
    bool
yann@2446
    79
    prompt "2.6.36.4"
yann@2446
    80
yann@2741
    81
config KERNEL_V_2_6_33_20
yann@2446
    82
    bool
yann@2741
    83
    prompt "2.6.33.20"
yann@2596
    84
    help
yann@2596
    85
      This is primarily for the use of those people who are stuck using the
yann@2596
    86
      .33-rt kernel.  Anyone else who really wants to use the .33 kernel tree
yann@2596
    87
      is welcome to use this one as well.
yann@2446
    88
yann@2885
    89
config KERNEL_V_2_6_32_57
yann@2446
    90
    bool
yann@2885
    91
    prompt "2.6.32.57 (longterm)"
yann@2446
    92
    help
yann@2446
    93
      The Linux 2.6.32 tree is a "longterm" maintenance branch.
yann@2446
    94
      
yann@2446
    95
      It is intended to fill the niche for users who are not using distribution
yann@2446
    96
      kernels but want to use a regression-free kernel for a longer time.
yann@2446
    97
      
yann@2446
    98
      Critical bug fixes to later 2.6 releases are often ported to this branch
yann@2446
    99
      which makes 2.6.32 a very useful base for many embedded developers seeking
yann@2446
   100
      stable APIs or those who do not need the latest bleeding edge features.
yann@2446
   101
      
yann@2446
   102
      ... and no, this kernel has not undergone any specific QA testing.
yann@2446
   103
      
yann@2446
   104
      See the original announcement by Greg Kroah-Hartman in the following
yann@2446
   105
      mailing list entry:
yann@2446
   106
        http://marc.info/?l=linux-kernel&m=126384198403392&w=4
yann@2446
   107
yann@2446
   108
config KERNEL_V_2_6_31_14
yann@2446
   109
    bool
yann@2446
   110
    prompt "2.6.31.14"
yann@2446
   111
yann@2885
   112
config KERNEL_V_2_6_27_61
yann@2446
   113
    bool
yann@2885
   114
    prompt "2.6.27.61 (longterm)"
yann@2446
   115
    help
yann@2446
   116
      The Linux 2.6.27 tree is a "longterm" maintenance branch.
yann@2446
   117
      
yann@2446
   118
      It is intended to fill the niche for users who are not using distribution
yann@2446
   119
      kernels but want to use a regression-free kernel for a longer time.
yann@2446
   120
      
yann@2446
   121
      Critical bug fixes to later 2.6 releases are often ported to this branch
yann@2446
   122
      which makes 2.6.27 a very useful base for many embedded developers seeking
yann@2446
   123
      stable APIs or those who do not need the latest bleeding edge features.
yann@2446
   124
      
yann@2446
   125
      ... and no, this kernel has not undergone any specific QA testing.
yann@2446
   126
      
yann@2446
   127
      See the original announcement by Adrian Bunk in the following mailing list
yann@2446
   128
      entry:
yann@2446
   129
        http://marc.info/?l=linux-kernel&m=122375909403298&w=4
yann@2446
   130
      
yann@2446
   131
      It is now maintained by Greg Kroah-Hartman, see this mailing list entry:
yann@2446
   132
        http://marc.info/?l=linux-kernel&m=129133701916793&w=4
yann@2446
   133
yann@2446
   134
config KERNEL_LINUX_CUSTOM
yann@2446
   135
    bool
sinseman44@2680
   136
    prompt "custom tarball or directory"
yann@2446
   137
    help
sinseman44@2680
   138
      Use a local tarball or local kernel directory of a complete kernel source tree.
yann@2446
   139
sinseman44@2680
   140
config KERNEL_LINUX_CUSTOM_LOCATION
yann@2446
   141
    string
sinseman44@2680
   142
    prompt "Path to custom source, tarball or directory"
yann@2446
   143
    depends on KERNEL_LINUX_CUSTOM
yann@2446
   144
    help
sinseman44@2680
   145
      Enter here the path to the tarball of your full kernel tree or
sinseman44@2680
   146
      kernel directory
yann@2446
   147
yann@2446
   148
endchoice
yann@2446
   149
yann@2446
   150
config KERNEL_VERSION
yann@2446
   151
    string
yann@2446
   152
# Don't remove next line
yann@2446
   153
# CT_INSERT_VERSION_STRING_BELOW
yann@2885
   154
    default "3.2.6" if KERNEL_V_3_2_6
benoit@2879
   155
    default "3.2.5" if KERNEL_V_3_2_5
benoit@2879
   156
    default "3.2.4" if KERNEL_V_3_2_4
benoit@2879
   157
    default "3.2.3" if KERNEL_V_3_2_3
yann@2852
   158
    default "3.2.2" if KERNEL_V_3_2_2
yann@2833
   159
    default "3.2.1" if KERNEL_V_3_2_1
yann@2832
   160
    default "3.2" if KERNEL_V_3_2
yann@2852
   161
    default "3.1.10" if KERNEL_V_3_1_10
yann@2885
   162
    default "3.0.21" if KERNEL_V_3_0_21
yann@2596
   163
    default "2.6.39.4" if KERNEL_V_2_6_39_4
bryanhundven@2513
   164
    default "2.6.38.8" if KERNEL_V_2_6_38_8
yann@2446
   165
    default "2.6.37.6" if KERNEL_V_2_6_37_6
yann@2446
   166
    default "2.6.36.4" if KERNEL_V_2_6_36_4
yann@2741
   167
    default "2.6.33.20" if KERNEL_V_2_6_33_20
yann@2885
   168
    default "2.6.32.57" if KERNEL_V_2_6_32_57
yann@2446
   169
    default "2.6.31.14" if KERNEL_V_2_6_31_14
yann@2885
   170
    default "2.6.27.61" if KERNEL_V_2_6_27_61
yann@2603
   171
    default "custom" if KERNEL_LINUX_CUSTOM
yann@2446
   172
yann@2603
   173
endif # ! KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@2446
   174
yann@2446
   175
if KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@2446
   176
yann@2446
   177
config KERNEL_LINUX_CUSTOM_PATH
yann@2446
   178
    string
yann@2446
   179
    prompt "Path to custom headers directory/tarball"
yann@2446
   180
    help
yann@2446
   181
      See KERNEL_LINUX_CUSTOM_IS_TARBALL, below.
yann@2446
   182
yann@2446
   183
config KERNEL_LINUX_CUSTOM_IS_TARBALL
yann@2446
   184
    bool
yann@2446
   185
    prompt "This is a tarball"
yann@2446
   186
    help
yann@2446
   187
      If you say 'n' here, the path above is expected to point to a directory
yann@2446
   188
      containing readily prepared headers
yann@2446
   189
      
yann@2446
   190
      If you say 'y' here, then the path above is expected to point to a
yann@2446
   191
      tarball of such a directory.
yann@2446
   192
      
yann@2446
   193
      Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
yann@2446
   194
      say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
yann@2446
   195
      
yann@2446
   196
      Now, passing a tarball around is easier than passing a directory, so
yann@2446
   197
      if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
yann@2446
   198
      say 'y' here, and enter the path to this tarball below.
yann@2446
   199
yann@2446
   200
endif # KERNEL_LINUX_USE_CUSTOM_HEADERS