config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Sep 16 17:39:40 2008 +0000 (2008-09-16)
changeset 861 5506fbbad59b
parent 808 0949a87e1629
child 865 04cf91f13430
permissions -rw-r--r--
Generate the kernel config choice, rather than having it hard-coded:
- change the menu label from 'Target OS' to 'Operating System',
- bare-metal is a kind of kernel (OS), rename to 'bare-metal' from 'none',
- update the kconfig.mk to generate the kernel choice entries,
- update glibc&eglibc kernel version option accordingly.
Update the debug & tools confiog file generation to match with arch & kernel.
Print terse command lines when building in kconfig/ (a-la Linux kernel).
Fix the makefile rules in kconfig/kconfig.mk to be /simple/ rules.

/trunk/kconfig/kconfig.mk | 117 81 36 0 +++++++++++++++++++++----------
/trunk/config/kernel/linux.in | 4 4 0 0 +
/trunk/config/kernel/bare-metal.experimental.in | 15 15 0 0 ++++
/trunk/config/kernel.in | 33 5 28 0 +--------
/trunk/config/libc/glibc-eglibc-common.in | 4 2 2 0
5 files changed, 107 insertions(+), 66 deletions(-)
     1 # eglibc options
     2 
     3 comment "eglibc specific options"
     4 
     5 choice
     6     bool
     7     prompt "eglibc version"
     8 
     9 config EGLIBC_V_TRUNK
    10     bool
    11     prompt "'trunk'"
    12     help
    13       Selecting this will export the trunk of the eglibc subversion repository.
    14 
    15 config EGLIBC_V_2_5
    16     bool
    17     prompt "2.5"
    18 
    19 config EGLIBC_V_2_6
    20     bool
    21     prompt "2.6"
    22 
    23 config EGLIBC_V_2_7
    24     bool
    25     prompt "2.7"
    26 
    27 config EGLIBC_V_2_8
    28     bool
    29     prompt "2.8"
    30 
    31 # CT_INSERT_VERSION_ABOVE
    32 # Don't remove above line!
    33 endchoice
    34 
    35 config LIBC_VERSION
    36     string
    37     default "trunk" if EGLIBC_V_TRUNK
    38     default "2_5" if EGLIBC_V_2_5
    39     default "2_6" if EGLIBC_V_2_6
    40     default "2_7" if EGLIBC_V_2_7
    41     default "2_8" if EGLIBC_V_2_8
    42 # CT_INSERT_VERSION_STRING_ABOVE
    43 # Don't remove above line!
    44 
    45 config EGLIBC_REVISION
    46     string
    47     prompt "Revision to use"
    48     default "HEAD"
    49     help
    50       Enter the revision of trunk you want to use.
    51       Default is HEAD.
    52       
    53       A revision argument can be one of:
    54           NUMBER       revision number
    55           '{' DATE '}' revision at start of the date (*)
    56           'HEAD'       latest in repository
    57       
    58       (*) If you want to use a date, please use ISO-8601 formats if
    59           at all possible.
    60 
    61 config EGLIBC_CHECKOUT
    62     bool
    63     prompt "checkout instead of export"
    64     default y if EGLIBC_V_TRUNK
    65     default n if ! EGLIBC_V_TRUNK
    66     help
    67       By default, the eglibc download will be an export of the subversion
    68       repository. If you say 'y' here, then the repository will instead be
    69       checked-out, so that you can update it later.
    70       
    71       Note that crosstool-NG will *not* update your working copy, you will
    72       have to do that yourself.