config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 11 23:43:52 2014 +0200 (2014-05-11)
changeset 3320 78af1c99bc6d
parent 3252 7e569a9cb5fd
permissions -rw-r--r--
scripts/functions: add target_endian_le and target_endian_be

We currently define target_endian_el and target_endian_eb to be the
tuple extension depending on endianness, defined to be respectively
'el' or 'eb' according to the endianness.

Some architecture do not use 'el' or 'eb', but use 'le' or 'be'.

Provide that as well, as two new variables: target_endian_le and
target_endian_be.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Cody P Schafer <dev@codyps.com>
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
netzimme@3305
    29
config KERNEL_V_3_13
netzimme@3305
    30
    bool
netzimme@3305
    31
    prompt "3.13.11"
netzimme@3305
    32
yann@3252
    33
config KERNEL_V_3_12
yann@3241
    34
    bool
netzimme@3305
    35
    prompt "3.12.18"
yann@3241
    36
yann@3241
    37
config KERNEL_V_3_11
yann@3241
    38
    bool
netzimme@3305
    39
    prompt "3.11.10"
yann@3241
    40
yann@3227
    41
config KERNEL_V_3_10
yann@3227
    42
    bool
netzimme@3305
    43
    prompt "3.10.38 (longterm)"
yann@3227
    44
yann@3211
    45
config KERNEL_V_3_9
benoit@3202
    46
    bool
yann@3227
    47
    prompt "3.9.11"
benoit@3197
    48
benoit@3184
    49
config KERNEL_V_3_8
benoit@3166
    50
    bool
yann@3252
    51
    prompt "3.8.13.9"
yann@3155
    52
benoit@3136
    53
config KERNEL_V_3_7
benoit@3114
    54
    bool
benoit@3197
    55
    prompt "3.7.10"
benoit@3114
    56
yann@3175
    57
config KERNEL_V_3_6
benoit@3114
    58
    bool
yann@3155
    59
    prompt "3.6.11"
benoit@3056
    60
yann@3175
    61
config KERNEL_V_3_5
benoit@3038
    62
    bool
yann@3252
    63
    prompt "3.5.7.25"
benoit@3038
    64
yann@3175
    65
config KERNEL_V_3_4
benoit@3038
    66
    bool
netzimme@3305
    67
    prompt "3.4.88 (longterm)"
benoit@2940
    68
yann@3175
    69
config KERNEL_V_3_3
benoit@2940
    70
    bool
yann@2993
    71
    prompt "3.3.8"
benoit@2940
    72
yann@3175
    73
config KERNEL_V_3_2
benoit@2940
    74
    bool
netzimme@3305
    75
    prompt "3.2.58"
yann@2812
    76
yann@3175
    77
config KERNEL_V_3_1
yann@2799
    78
    bool
yann@2852
    79
    prompt "3.1.10"
yann@2799
    80
yann@3175
    81
config KERNEL_V_3_0
yann@2799
    82
    bool
yann@3252
    83
    prompt "3.0.101"
yann@2568
    84
yann@3175
    85
config KERNEL_V_2_6_39
yann@2566
    86
    bool
yann@2596
    87
    prompt "2.6.39.4"
yann@2473
    88
yann@3175
    89
config KERNEL_V_2_6_38
yann@2473
    90
    bool
bryanhundven@2513
    91
    prompt "2.6.38.8"
yann@2446
    92
yann@3175
    93
config KERNEL_V_2_6_37
yann@2446
    94
    bool
yann@2446
    95
    prompt "2.6.37.6"
yann@2446
    96
yann@3175
    97
config KERNEL_V_2_6_36
yann@2446
    98
    bool
yann@2446
    99
    prompt "2.6.36.4"
yann@2446
   100
yann@3175
   101
config KERNEL_V_2_6_33
yann@2446
   102
    bool
yann@2741
   103
    prompt "2.6.33.20"
yann@2596
   104
    help
yann@2596
   105
      This is primarily for the use of those people who are stuck using the
yann@2596
   106
      .33-rt kernel.  Anyone else who really wants to use the .33 kernel tree
yann@2596
   107
      is welcome to use this one as well.
yann@2446
   108
yann@3175
   109
config KERNEL_V_2_6_32
yann@2446
   110
    bool
yann@3227
   111
    prompt "2.6.32.61 (longterm)"
yann@2446
   112
    help
yann@2446
   113
      The Linux 2.6.32 tree is a "longterm" maintenance branch.
yann@2446
   114
      
yann@2446
   115
      It is intended to fill the niche for users who are not using distribution
yann@2446
   116
      kernels but want to use a regression-free kernel for a longer time.
yann@2446
   117
      
yann@2446
   118
      Critical bug fixes to later 2.6 releases are often ported to this branch
yann@2446
   119
      which makes 2.6.32 a very useful base for many embedded developers seeking
yann@2446
   120
      stable APIs or those who do not need the latest bleeding edge features.
yann@2446
   121
      
yann@2446
   122
      ... and no, this kernel has not undergone any specific QA testing.
yann@2446
   123
      
yann@2446
   124
      See the original announcement by Greg Kroah-Hartman in the following
yann@2446
   125
      mailing list entry:
yann@2446
   126
        http://marc.info/?l=linux-kernel&m=126384198403392&w=4
yann@2446
   127
yann@3175
   128
config KERNEL_V_2_6_31
yann@2446
   129
    bool
yann@2446
   130
    prompt "2.6.31.14"
yann@2446
   131
yann@3175
   132
config KERNEL_V_2_6_27
yann@2446
   133
    bool
yann@2921
   134
    prompt "2.6.27.62 (longterm)"
yann@2446
   135
    help
yann@2446
   136
      The Linux 2.6.27 tree is a "longterm" maintenance branch.
yann@2446
   137
      
yann@2446
   138
      It is intended to fill the niche for users who are not using distribution
yann@2446
   139
      kernels but want to use a regression-free kernel for a longer time.
yann@2446
   140
      
yann@2446
   141
      Critical bug fixes to later 2.6 releases are often ported to this branch
yann@2446
   142
      which makes 2.6.27 a very useful base for many embedded developers seeking
yann@2446
   143
      stable APIs or those who do not need the latest bleeding edge features.
yann@2446
   144
      
yann@2446
   145
      ... and no, this kernel has not undergone any specific QA testing.
yann@2446
   146
      
yann@2446
   147
      See the original announcement by Adrian Bunk in the following mailing list
yann@2446
   148
      entry:
yann@2446
   149
        http://marc.info/?l=linux-kernel&m=122375909403298&w=4
yann@2446
   150
      
yann@2446
   151
      It is now maintained by Greg Kroah-Hartman, see this mailing list entry:
yann@2446
   152
        http://marc.info/?l=linux-kernel&m=129133701916793&w=4
yann@2446
   153
yann@2446
   154
config KERNEL_LINUX_CUSTOM
yann@2446
   155
    bool
sinseman44@2680
   156
    prompt "custom tarball or directory"
yann@2446
   157
    help
sinseman44@2680
   158
      Use a local tarball or local kernel directory of a complete kernel source tree.
yann@2446
   159
sinseman44@2680
   160
config KERNEL_LINUX_CUSTOM_LOCATION
yann@2446
   161
    string
sinseman44@2680
   162
    prompt "Path to custom source, tarball or directory"
yann@2446
   163
    depends on KERNEL_LINUX_CUSTOM
yann@2446
   164
    help
sinseman44@2680
   165
      Enter here the path to the tarball of your full kernel tree or
sinseman44@2680
   166
      kernel directory
yann@2446
   167
yann@2446
   168
endchoice
yann@2446
   169
yann@2446
   170
config KERNEL_VERSION
yann@2446
   171
    string
yann@2446
   172
# Don't remove next line
yann@2446
   173
# CT_INSERT_VERSION_STRING_BELOW
netzimme@3305
   174
    default "3.13.11" if KERNEL_V_3_13
netzimme@3305
   175
    default "3.12.18" if KERNEL_V_3_12
netzimme@3305
   176
    default "3.11.10" if KERNEL_V_3_11
netzimme@3305
   177
    default "3.10.38" if KERNEL_V_3_10
yann@3227
   178
    default "3.9.11" if KERNEL_V_3_9
yann@3252
   179
    default "3.8.13.9" if KERNEL_V_3_8
benoit@3197
   180
    default "3.7.10" if KERNEL_V_3_7
yann@3175
   181
    default "3.6.11" if KERNEL_V_3_6
yann@3252
   182
    default "3.5.7.25" if KERNEL_V_3_5
netzimme@3305
   183
    default "3.4.88" if KERNEL_V_3_4
yann@3175
   184
    default "3.3.8" if KERNEL_V_3_3
netzimme@3305
   185
    default "3.2.58" if KERNEL_V_3_2
yann@3175
   186
    default "3.1.10" if KERNEL_V_3_1
yann@3252
   187
    default "3.0.101" if KERNEL_V_3_0
yann@3175
   188
    default "2.6.39.4" if KERNEL_V_2_6_39
yann@3175
   189
    default "2.6.38.8" if KERNEL_V_2_6_38
yann@3175
   190
    default "2.6.37.6" if KERNEL_V_2_6_37
yann@3175
   191
    default "2.6.36.4" if KERNEL_V_2_6_36
yann@3175
   192
    default "2.6.33.20" if KERNEL_V_2_6_33
yann@3227
   193
    default "2.6.32.61" if KERNEL_V_2_6_32
yann@3175
   194
    default "2.6.31.14" if KERNEL_V_2_6_31
yann@3175
   195
    default "2.6.27.62" if KERNEL_V_2_6_27
yann@2603
   196
    default "custom" if KERNEL_LINUX_CUSTOM
yann@2446
   197
yann@2603
   198
endif # ! KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@2446
   199
yann@2446
   200
if KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@2446
   201
yann@2446
   202
config KERNEL_LINUX_CUSTOM_PATH
yann@2446
   203
    string
yann@2446
   204
    prompt "Path to custom headers directory/tarball"
yann@2446
   205
    help
yann@2446
   206
      See KERNEL_LINUX_CUSTOM_IS_TARBALL, below.
yann@2446
   207
yann@2446
   208
config KERNEL_LINUX_CUSTOM_IS_TARBALL
yann@2446
   209
    bool
yann@2446
   210
    prompt "This is a tarball"
yann@2446
   211
    help
yann@2446
   212
      If you say 'n' here, the path above is expected to point to a directory
yann@2446
   213
      containing readily prepared headers
yann@2446
   214
      
yann@2446
   215
      If you say 'y' here, then the path above is expected to point to a
yann@2446
   216
      tarball of such a directory.
yann@2446
   217
      
yann@2446
   218
      Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
yann@2446
   219
      say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
yann@2446
   220
      
yann@2446
   221
      Now, passing a tarball around is easier than passing a directory, so
yann@2446
   222
      if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
yann@2446
   223
      say 'y' here, and enter the path to this tarball below.
yann@2446
   224
yann@2446
   225
endif # KERNEL_LINUX_USE_CUSTOM_HEADERS