config/binutils.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Oct 18 18:37:28 2008 +0000 (2008-10-18)
changeset 945 d0e5f04d2e06
parent 866 5fec4dba671e
child 1069 335ee9d69b80
permissions -rw-r--r--
Extract the config files related stuff from the kconfig stuff
- create config/config.mk, with all the config.gen/ rules
- the only common points between config files and configurators:
- the top-level config file to include, stored in KCONFIG_TOP
- the config_file rules, which makes config files available to configurators
- dependency-files are renamed from %.d to %.dep (.d is reserved for directories)
- a few eye-candy here and there

/trunk/kconfig/kconfig.mk | 184 12 172 0 +++--------------------------------------------------
/trunk/config/config.mk | 118 9 109 0 +++-------------------------------
/trunk/ct-ng.in | 1 1 0 0 +
3 files changed, 22 insertions(+), 281 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 config BINUTILS_V_2_18_50_0_9
    55     bool
    56     prompt "2.18.50.0.9 (EXPERIMENTAL)"
    57     depends on EXPERIMENTAL
    58 
    59 config BINUTILS_V_2_18_90
    60     bool
    61     prompt "2.18.90 (EXPERIMENTAL)"
    62     depends on EXPERIMENTAL
    63 
    64 config BINUTILS_V_2_18_91
    65     bool
    66     prompt "2.18.91 (EXPERIMENTAL)"
    67     depends on EXPERIMENTAL
    68 
    69 config BINUTILS_V_2_18_92
    70     bool
    71     prompt "2.18.92 (EXPERIMENTAL)"
    72     depends on EXPERIMENTAL
    73 
    74 config BINUTILS_V_2_18_93
    75     bool
    76     prompt "2.18.93 (EXPERIMENTAL)"
    77     depends on EXPERIMENTAL
    78 
    79 config BINUTILS_V_2_19_50_0_1
    80     bool
    81     prompt "2.19.50.0.1 (EXPERIMENTAL)"
    82     depends on EXPERIMENTAL
    83 
    84 # CT_INSERT_VERSION_ABOVE
    85 # Don't remove above line!
    86 endchoice
    87 
    88 config BINUTILS_VERSION
    89     string
    90     default "2.14" if BINUTILS_V_2_14
    91     default "2.15" if BINUTILS_V_2_15
    92     default "2.16.1" if BINUTILS_V_2_16_1
    93     default "2.17" if BINUTILS_V_2_17
    94     default "2.18" if BINUTILS_V_2_18
    95     default "2.18.50.0.4" if BINUTILS_V_2_18_50_0_4
    96     default "2.18.50.0.6" if BINUTILS_V_2_18_50_0_6
    97     default "2.18.50.0.7" if BINUTILS_V_2_18_50_0_7
    98     default "2.18.50.0.8" if BINUTILS_V_2_18_50_0_8
    99     default "2.18.50.0.9" if BINUTILS_V_2_18_50_0_9
   100     default "2.18.90" if BINUTILS_V_2_18_90
   101     default "2.18.91" if BINUTILS_V_2_18_91
   102     default "2.18.92" if BINUTILS_V_2_18_92
   103     default "2.18.93" if BINUTILS_V_2_18_93
   104     default "2.19.50.0.1" if BINUTILS_V_2_19_50_0_1
   105 # CT_INSERT_VERSION_STRING_ABOVE
   106 # Don't remove above line!
   107 
   108 config BINUTILS_EXTRA_CONFIG
   109     string
   110     prompt "binutils extra config"
   111     default ""
   112     help
   113       Extra flags passed onto ./configure when configuring
   114 
   115 config BINUTILS_FOR_TARGET
   116     bool
   117     prompt "binutils libraries for the target"
   118     depends on ! BARE_METAL
   119     default n
   120     help
   121       Some utilities may need binutils libraries to be available on
   122       the target, eg. oprofile.
   123 
   124 if BINUTILS_FOR_TARGET
   125 
   126 config BINUTILS_FOR_TARGET_IBERTY
   127     bool
   128     prompt "libiberty"
   129     default y
   130 
   131 config BINUTILS_FOR_TARGET_BFD
   132     bool
   133     prompt "libbfd"
   134     default y
   135 
   136 endif # BINUTILS_FOR_TARGET
   137 
   138 endmenu