config/binutils.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 647 390c269d3757
child 866 5fec4dba671e
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 # binutils options
     2 
     3 menu "binutils"
     4 
     5 config BINUTILS_VERSION
     6     string
     7 
     8 choice
     9     bool
    10     prompt "binutils version"
    11 
    12 config BINUTILS_V_2_14
    13     bool
    14     prompt "2.14 (OBSOLETE)"
    15     depends on OBSOLETE
    16 
    17 config BINUTILS_V_2_15
    18     bool
    19     prompt "2.15 (OBSOLETE)"
    20     depends on OBSOLETE
    21 
    22 config BINUTILS_V_2_16_1
    23     bool
    24     prompt "2.16.1"
    25 
    26 config BINUTILS_V_2_17
    27     bool
    28     prompt "2.17"
    29 
    30 config BINUTILS_V_2_18
    31     bool
    32     prompt "2.18"
    33 
    34 config BINUTILS_V_2_18_50_0_4
    35     bool
    36     prompt "2.18.50.0.4 (EXPERIMENTAL)"
    37     depends on EXPERIMENTAL
    38 
    39 config BINUTILS_V_2_18_50_0_6
    40     bool
    41     prompt "2.18.50.0.6 (EXPERIMENTAL)"
    42     depends on EXPERIMENTAL
    43 
    44 config BINUTILS_V_2_18_50_0_7
    45     bool
    46     prompt "2.18.50.0.7 (EXPERIMENTAL)"
    47     depends on EXPERIMENTAL
    48 
    49 config BINUTILS_V_2_18_50_0_8
    50     bool
    51     prompt "2.18.50.0.8 (EXPERIMENTAL)"
    52     depends on EXPERIMENTAL
    53 
    54 # CT_INSERT_VERSION_ABOVE
    55 # Don't remove above line!
    56 endchoice
    57 
    58 config BINUTILS_VERSION
    59     string
    60     default "2.14" if BINUTILS_V_2_14
    61     default "2.15" if BINUTILS_V_2_15
    62     default "2.16.1" if BINUTILS_V_2_16_1
    63     default "2.17" if BINUTILS_V_2_17
    64     default "2.18" if BINUTILS_V_2_18
    65     default "2.18.50.0.4" if BINUTILS_V_2_18_50_0_4
    66     default "2.18.50.0.6" if BINUTILS_V_2_18_50_0_6
    67     default "2.18.50.0.7" if BINUTILS_V_2_18_50_0_7
    68     default "2.18.50.0.8" if BINUTILS_V_2_18_50_0_8
    69 # CT_INSERT_VERSION_STRING_ABOVE
    70 # Don't remove above line!
    71 
    72 config BINUTILS_EXTRA_CONFIG
    73     string
    74     prompt "binutils extra config"
    75     default ""
    76     help
    77       Extra flags passed onto ./configure when configuring
    78 
    79 config BINUTILS_FOR_TARGET
    80     bool
    81     prompt "binutils libraries for the target"
    82     depends on ! BARE_METAL
    83     default n
    84     help
    85       Some utilities may need binutils libraries to be available on
    86       the target, eg. oprofile.
    87 
    88 if BINUTILS_FOR_TARGET
    89 
    90 config BINUTILS_FOR_TARGET_IBERTY
    91     bool
    92     prompt "libiberty"
    93     default y
    94 
    95 config BINUTILS_FOR_TARGET_BFD
    96     bool
    97     prompt "libbfd"
    98     default y
    99 
   100 endif # BINUTILS_FOR_TARGET
   101 
   102 endmenu