config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Tue Jul 31 22:27:29 2012 +0200 (2012-07-31)
changeset 3018 7776e8369284
parent 2996 4c8fd10c18e9
child 3020 c5e9702016d8
permissions -rw-r--r--
complibs/cloog: create missing m4 dir

Because we now patch configure.in and configure, the Makefile quicks
in a re-build rule as the source files are now more recent than the
bundled generated files, and that fails because the m4 directory
is missing, although on some systems where aclocal is not installed,
the re-build rule does nothing (except a warning).

Always create tht directory.

Reported-by: Per Arnold Blaasmo <per-arnold.blaasmo@atmel.com>
[Also thanks to Thomas De Schampheleire <patrickdepinguin@gmail.com>
for some digging works on this issue]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.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
benoit@3017
    29
config KERNEL_V_3_5
benoit@2996
    30
    bool
benoit@3017
    31
    prompt "3.5"
benoit@2996
    32
benoit@3017
    33
config KERNEL_V_3_4_6
yann@2993
    34
    bool
benoit@3017
    35
    prompt "3.4.6"
benoit@2940
    36
yann@2993
    37
config KERNEL_V_3_3_8
benoit@2940
    38
    bool
yann@2993
    39
    prompt "3.3.8"
benoit@2940
    40
benoit@3017
    41
config KERNEL_V_3_2_23
benoit@2940
    42
    bool
benoit@3017
    43
    prompt "3.2.23"
yann@2812
    44
yann@2852
    45
config KERNEL_V_3_1_10
yann@2799
    46
    bool
yann@2852
    47
    prompt "3.1.10"
yann@2799
    48
benoit@3017
    49
config KERNEL_V_3_0_38
yann@2799
    50
    bool
benoit@3017
    51
    prompt "3.0.38"
yann@2568
    52
yann@2596
    53
config KERNEL_V_2_6_39_4
yann@2566
    54
    bool
yann@2596
    55
    prompt "2.6.39.4"
yann@2473
    56
bryanhundven@2513
    57
config KERNEL_V_2_6_38_8
yann@2473
    58
    bool
bryanhundven@2513
    59
    prompt "2.6.38.8"
yann@2446
    60
yann@2446
    61
config KERNEL_V_2_6_37_6
yann@2446
    62
    bool
yann@2446
    63
    prompt "2.6.37.6"
yann@2446
    64
yann@2446
    65
config KERNEL_V_2_6_36_4
yann@2446
    66
    bool
yann@2446
    67
    prompt "2.6.36.4"
yann@2446
    68
yann@2741
    69
config KERNEL_V_2_6_33_20
yann@2446
    70
    bool
yann@2741
    71
    prompt "2.6.33.20"
yann@2596
    72
    help
yann@2596
    73
      This is primarily for the use of those people who are stuck using the
yann@2596
    74
      .33-rt kernel.  Anyone else who really wants to use the .33 kernel tree
yann@2596
    75
      is welcome to use this one as well.
yann@2446
    76
yann@2921
    77
config KERNEL_V_2_6_32_59
yann@2446
    78
    bool
yann@2921
    79
    prompt "2.6.32.59 (longterm)"
yann@2446
    80
    help
yann@2446
    81
      The Linux 2.6.32 tree is a "longterm" maintenance branch.
yann@2446
    82
      
yann@2446
    83
      It is intended to fill the niche for users who are not using distribution
yann@2446
    84
      kernels but want to use a regression-free kernel for a longer time.
yann@2446
    85
      
yann@2446
    86
      Critical bug fixes to later 2.6 releases are often ported to this branch
yann@2446
    87
      which makes 2.6.32 a very useful base for many embedded developers seeking
yann@2446
    88
      stable APIs or those who do not need the latest bleeding edge features.
yann@2446
    89
      
yann@2446
    90
      ... and no, this kernel has not undergone any specific QA testing.
yann@2446
    91
      
yann@2446
    92
      See the original announcement by Greg Kroah-Hartman in the following
yann@2446
    93
      mailing list entry:
yann@2446
    94
        http://marc.info/?l=linux-kernel&m=126384198403392&w=4
yann@2446
    95
yann@2446
    96
config KERNEL_V_2_6_31_14
yann@2446
    97
    bool
yann@2446
    98
    prompt "2.6.31.14"
yann@2446
    99
yann@2921
   100
config KERNEL_V_2_6_27_62
yann@2446
   101
    bool
yann@2921
   102
    prompt "2.6.27.62 (longterm)"
yann@2446
   103
    help
yann@2446
   104
      The Linux 2.6.27 tree is a "longterm" maintenance branch.
yann@2446
   105
      
yann@2446
   106
      It is intended to fill the niche for users who are not using distribution
yann@2446
   107
      kernels but want to use a regression-free kernel for a longer time.
yann@2446
   108
      
yann@2446
   109
      Critical bug fixes to later 2.6 releases are often ported to this branch
yann@2446
   110
      which makes 2.6.27 a very useful base for many embedded developers seeking
yann@2446
   111
      stable APIs or those who do not need the latest bleeding edge features.
yann@2446
   112
      
yann@2446
   113
      ... and no, this kernel has not undergone any specific QA testing.
yann@2446
   114
      
yann@2446
   115
      See the original announcement by Adrian Bunk in the following mailing list
yann@2446
   116
      entry:
yann@2446
   117
        http://marc.info/?l=linux-kernel&m=122375909403298&w=4
yann@2446
   118
      
yann@2446
   119
      It is now maintained by Greg Kroah-Hartman, see this mailing list entry:
yann@2446
   120
        http://marc.info/?l=linux-kernel&m=129133701916793&w=4
yann@2446
   121
yann@2446
   122
config KERNEL_LINUX_CUSTOM
yann@2446
   123
    bool
sinseman44@2680
   124
    prompt "custom tarball or directory"
yann@2446
   125
    help
sinseman44@2680
   126
      Use a local tarball or local kernel directory of a complete kernel source tree.
yann@2446
   127
sinseman44@2680
   128
config KERNEL_LINUX_CUSTOM_LOCATION
yann@2446
   129
    string
sinseman44@2680
   130
    prompt "Path to custom source, tarball or directory"
yann@2446
   131
    depends on KERNEL_LINUX_CUSTOM
yann@2446
   132
    help
sinseman44@2680
   133
      Enter here the path to the tarball of your full kernel tree or
sinseman44@2680
   134
      kernel directory
yann@2446
   135
yann@2446
   136
endchoice
yann@2446
   137
yann@2446
   138
config KERNEL_VERSION
yann@2446
   139
    string
yann@2446
   140
# Don't remove next line
yann@2446
   141
# CT_INSERT_VERSION_STRING_BELOW
benoit@3017
   142
    default "3.5" if KERNEL_V_3_5
benoit@3017
   143
    default "3.4.6" if KERNEL_V_3_4_6
yann@2993
   144
    default "3.3.8" if KERNEL_V_3_3_8
benoit@3017
   145
    default "3.2.23" if KERNEL_V_3_2_23
yann@2852
   146
    default "3.1.10" if KERNEL_V_3_1_10
benoit@3017
   147
    default "3.0.38" if KERNEL_V_3_0_38
yann@2596
   148
    default "2.6.39.4" if KERNEL_V_2_6_39_4
bryanhundven@2513
   149
    default "2.6.38.8" if KERNEL_V_2_6_38_8
yann@2446
   150
    default "2.6.37.6" if KERNEL_V_2_6_37_6
yann@2446
   151
    default "2.6.36.4" if KERNEL_V_2_6_36_4
yann@2741
   152
    default "2.6.33.20" if KERNEL_V_2_6_33_20
yann@2921
   153
    default "2.6.32.59" if KERNEL_V_2_6_32_59
yann@2446
   154
    default "2.6.31.14" if KERNEL_V_2_6_31_14
yann@2921
   155
    default "2.6.27.62" if KERNEL_V_2_6_27_62
yann@2603
   156
    default "custom" if KERNEL_LINUX_CUSTOM
yann@2446
   157
yann@2603
   158
endif # ! KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@2446
   159
yann@2446
   160
if KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@2446
   161
yann@2446
   162
config KERNEL_LINUX_CUSTOM_PATH
yann@2446
   163
    string
yann@2446
   164
    prompt "Path to custom headers directory/tarball"
yann@2446
   165
    help
yann@2446
   166
      See KERNEL_LINUX_CUSTOM_IS_TARBALL, below.
yann@2446
   167
yann@2446
   168
config KERNEL_LINUX_CUSTOM_IS_TARBALL
yann@2446
   169
    bool
yann@2446
   170
    prompt "This is a tarball"
yann@2446
   171
    help
yann@2446
   172
      If you say 'n' here, the path above is expected to point to a directory
yann@2446
   173
      containing readily prepared headers
yann@2446
   174
      
yann@2446
   175
      If you say 'y' here, then the path above is expected to point to a
yann@2446
   176
      tarball of such a directory.
yann@2446
   177
      
yann@2446
   178
      Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
yann@2446
   179
      say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
yann@2446
   180
      
yann@2446
   181
      Now, passing a tarball around is easier than passing a directory, so
yann@2446
   182
      if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
yann@2446
   183
      say 'y' here, and enter the path to this tarball below.
yann@2446
   184
yann@2446
   185
endif # KERNEL_LINUX_USE_CUSTOM_HEADERS