config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun May 03 09:50:16 2009 +0000 (2009-05-03)
branchnewlib
changeset 1366 5e5d1e6f55d3
parent 1365 c4d124ed9f8e
permissions -rw-r--r--
Update the newlib devel branch with stuff from /trunk@1498.

-------- diffstat follows --------
/devel/newlib/configure | 336 176 160 0 +++++++------
/devel/newlib/Makefile.in | 12 3 9 0 -
/devel/newlib/scripts/build/kernel/linux.sh | 2 1 1 0
/devel/newlib/scripts/build/internals.sh | 1 0 1 0 -
/devel/newlib/scripts/build/libc/eglibc.sh | 1 0 1 0 -
/devel/newlib/scripts/build/mpfr.sh | 2 1 1 0
/devel/newlib/scripts/functions | 111 5 106 0 ----
/devel/newlib/scripts/config.guess | 7 5 2 0 +
/devel/newlib/scripts/config.sub | 3 2 1 0 +
/devel/newlib/scripts/saveSample.sh.in | 4 2 2 0
/devel/newlib/docs/overview.txt | 8 6 2 0 +
/devel/newlib/samples/armeb-unknown-linux-uclibc/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/sh4-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/x86_64-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/arm-unknown-elf/crosstool.config | 12 3 9 0 -
/devel/newlib/samples/armeb-unknown-eabi/crosstool.config | 2 0 2 0 -
/devel/newlib/samples/arm-unknown-linux-gnueabi/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/ia64-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/x86_64-unknown-linux-uclibc/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/armeb-unknown-linux-gnueabi/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/i686-nptl-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/arm-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/powerpc-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/mips-unknown-linux-uclibc/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/arm-iphone-linux-gnueabi/crosstool.config | 8 4 4 0
/devel/newlib/samples/armeb-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/i586-geode-linux-uclibc/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/arm-unknown-linux-uclibc/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/powerpc-unknown-linux-uclibc/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/mips-unknown-elf/crosstool.config | 2 0 2 0 -
/devel/newlib/samples/powerpc-405-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/arm-unknown-eabi/crosstool.config | 12 3 9 0 -
/devel/newlib/samples/mipsel-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/powerpc64-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/alphaev56-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/powerpc-860-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/config/kernel/linux.in | 108 2 106 0 ----
/devel/newlib/config/global/ct-behave.in | 22 13 9 0 +
/devel/newlib/config/global/download.in | 210 15 195 0 +-------
/devel/newlib/config/libc/glibc.in | 7 7 0 0 +
/devel/newlib/config/libc/glibc-eglibc.in-common | 15 14 1 0 +
45 files changed, 382 insertions(+), 839 deletions(-)
     1 # Linux kernel options
     2 
     3 config KERNEL_linux
     4     help
     5       Build a toolchain targeting systems running Linux as a kernel.
     6 
     7 choice
     8     bool
     9     prompt "Get kernel headers from:"
    10 
    11 config KERNEL_LINUX_INSTALL
    12     bool
    13     prompt "kernel's 'headers_install'"
    14     help
    15       This will make use of the new headers_install rule in recent kernels.
    16       This is most probably what you want to use.
    17 
    18 if KERNEL_LINUX_INSTALL
    19 
    20 config KERNEL_LINUX_INSTALL_CHECK
    21     bool
    22     prompt "Check installed headers"
    23     default y
    24     help
    25       If you are in doubt that installed headers are buggy, say 'Y'
    26       here to have an extra check passed onto the headers.
    27 
    28 choice
    29     bool
    30     prompt "Linux kernel version"
    31 
    32 config KERNEL_V_2_6_18_8
    33     bool
    34     prompt "2.6.18.8 (OBSOLETE)"
    35     depends on OBSOLETE
    36 
    37 config KERNEL_V_2_6_19_7
    38     bool
    39     prompt "2.6.19.7 (OBSOLETE)"
    40     depends on OBSOLETE
    41 
    42 config KERNEL_V_2_6_20_21
    43     bool
    44     prompt "2.6.20.21 (OBSOLETE)"
    45     depends on OBSOLETE
    46 
    47 config KERNEL_V_2_6_21_7
    48     bool
    49     prompt "2.6.21.7 (OBSOLETE)"
    50     depends on OBSOLETE
    51 
    52 config KERNEL_V_2_6_22_19
    53     bool
    54     prompt "2.6.22.19 (OBSOLETE)"
    55     depends on OBSOLETE
    56 
    57 config KERNEL_V_2_6_23_17
    58     bool
    59     prompt "2.6.23.17 (OBSOLETE)"
    60     depends on OBSOLETE
    61 
    62 config KERNEL_V_2_6_24_7
    63     bool
    64     prompt "2.6.24.7 (OBSOLETE)"
    65     depends on OBSOLETE
    66 
    67 config KERNEL_V_2_6_25_20
    68     bool
    69     prompt "2.6.25.20 (OBSOLETE)"
    70     depends on OBSOLETE
    71 
    72 config KERNEL_V_2_6_26_8
    73     bool
    74     prompt "2.6.26.8 (OBSOLETE)"
    75     depends on OBSOLETE
    76 
    77 config KERNEL_V_2_6_27_21
    78     bool
    79     prompt "2.6.27.21 (OBSOLETE)"
    80     depends on OBSOLETE
    81 
    82 config KERNEL_V_2_6_28
    83     bool
    84     prompt "2.6.28"
    85 
    86 config KERNEL_V_2_6_28_1
    87     bool
    88     prompt "2.6.28.1"
    89 
    90 config KERNEL_V_2_6_28_2
    91     bool
    92     prompt "2.6.28.2"
    93 
    94 config KERNEL_V_2_6_28_3
    95     bool
    96     prompt "2.6.28.3"
    97 
    98 config KERNEL_V_2_6_28_4
    99     bool
   100     prompt "2.6.28.4"
   101 
   102 config KERNEL_V_2_6_28_5
   103     bool
   104     prompt "2.6.28.5"
   105 
   106 config KERNEL_V_2_6_28_6
   107     bool
   108     prompt "2.6.28.6"
   109 
   110 config KERNEL_V_2_6_28_7
   111     bool
   112     prompt "2.6.28.7"
   113 
   114 config KERNEL_V_2_6_28_8
   115     bool
   116     prompt "2.6.28.8"
   117 
   118 config KERNEL_V_2_6_28_9
   119     bool
   120     prompt "2.6.28.9"
   121 
   122 config KERNEL_V_2_6_29
   123     bool
   124     prompt "2.6.29"
   125 
   126 config KERNEL_V_2_6_29_1
   127     bool
   128     prompt "2.6.29.1"
   129 
   130 # CT_INSERT_VERSION_ABOVE
   131 # Don't remove above line!
   132 
   133 config KERNEL_V_select
   134     bool
   135     prompt "Other version (EXPERIMENTAL)"
   136     depends on EXPERIMENTAL
   137 
   138 endchoice
   139 
   140 config KERNEL_VERSION
   141     string
   142     prompt "Kernel version" if KERNEL_V_select
   143     default "2.6.18.8" if KERNEL_V_2_6_18_8
   144     default "2.6.19.7" if KERNEL_V_2_6_19_7
   145     default "2.6.20.21" if KERNEL_V_2_6_20_21
   146     default "2.6.21.7" if KERNEL_V_2_6_21_7
   147     default "2.6.22.19" if KERNEL_V_2_6_22_19
   148     default "2.6.23.17" if KERNEL_V_2_6_23_17
   149     default "2.6.24.7" if KERNEL_V_2_6_24_7
   150     default "2.6.25.20" if KERNEL_V_2_6_25_20
   151     default "2.6.26.8" if KERNEL_V_2_6_26_8
   152     default "2.6.27.21" if KERNEL_V_2_6_27_21
   153     default "2.6.28" if KERNEL_V_2_6_28
   154     default "2.6.28.1" if KERNEL_V_2_6_28_1
   155     default "2.6.28.2" if KERNEL_V_2_6_28_2
   156     default "2.6.28.3" if KERNEL_V_2_6_28_3
   157     default "2.6.28.4" if KERNEL_V_2_6_28_4
   158     default "2.6.28.5" if KERNEL_V_2_6_28_5
   159     default "2.6.28.6" if KERNEL_V_2_6_28_6
   160     default "2.6.28.7" if KERNEL_V_2_6_28_7
   161     default "2.6.28.8" if KERNEL_V_2_6_28_8
   162     default "2.6.28.9" if KERNEL_V_2_6_28_9
   163     default "2.6.29" if KERNEL_V_2_6_29
   164     default "2.6.29.1" if KERNEL_V_2_6_29_1
   165 # CT_INSERT_VERSION_STRING_ABOVE
   166 # Don't remove above line!
   167     help
   168       Enter here the kernel version you want to use, if it is
   169       not listed above. Something like V.P.S or V.P.S.E, where:
   170         V: VERSION
   171         P: PATCHLEVEL
   172         S: SUBLEVEL
   173         E: EXTRAVERSION
   174 
   175 choice
   176     bool
   177     prompt "Kernel verbosity:"
   178     default KERNEL_LINUX_VERBOSITY_0
   179 
   180 config KERNEL_LINUX_VERBOSITY_0
   181     bool
   182     prompt "Simplified"
   183     help
   184       Print simplified command lines.
   185 
   186 config KERNEL_LINUX_VERBOSITY_1
   187     bool
   188     prompt "Full commands"
   189     help
   190       Print full command lines.
   191 
   192 config KERNEL_LINUX_VERBOSITY_2
   193     bool
   194     prompt "Exec reasons"
   195     help
   196       Print the reasons why a make target is rebuild.
   197 
   198 endchoice
   199 
   200 config KERNEL_LINUX_VERBOSE_LEVEL
   201     int
   202     default 0 if KERNEL_LINUX_VERBOSITY_0
   203     default 1 if KERNEL_LINUX_VERBOSITY_1
   204     default 2 if KERNEL_LINUX_VERBOSITY_2
   205 
   206 endif
   207 
   208 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   209     bool
   210     prompt "Use custom headers"
   211     help
   212       If you have some kernel headers lying around, you can enter the path
   213       below.
   214 
   215 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   216 
   217 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   218     bool
   219     prompt "This is a tarball"
   220     default n
   221     help
   222       If you say 'n' here, the path below is expected to point to a directory
   223       containing readily prepared headers
   224       
   225       If you say 'y' here, then the path below is expected to point to a
   226       tarball of such a directory.
   227       
   228       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   229       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   230       
   231       Now, passing a tarball around is easier than passing a directory, so
   232       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   233       say 'y' here, and enter the path to this tarball below.
   234 
   235 config KERNEL_LINUX_CUSTOM_PATH
   236     string
   237     prompt "Path to custom headers directory/tarball"
   238     help
   239       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   240 
   241 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   242 
   243 endchoice