config/binutils.in
changeset 1345 27fec561af53
parent 1231 cc07c1ef372d
child 1346 fee8feeba8ac
     1.1 --- a/config/binutils.in	Thu Mar 05 17:38:05 2009 +0000
     1.2 +++ b/config/binutils.in	Wed May 20 20:13:13 2009 +0000
     1.3 @@ -1,160 +1,44 @@
     1.4 -# binutils options
     1.5 +# Binary utilities menu
     1.6  
     1.7 -menu "binutils"
     1.8 -
     1.9 -config BINUTILS_VERSION
    1.10 -    string
    1.11 +menu "Binary utilities"
    1.12  
    1.13  choice
    1.14      bool
    1.15 -    prompt "binutils version"
    1.16 +    prompt "Binary format:"
    1.17  
    1.18 -config BINUTILS_V_2_14
    1.19 +if ARCH_USE_MMU
    1.20 +
    1.21 +config ARCH_BINFMT_ELF
    1.22      bool
    1.23 -    prompt "2.14 (OBSOLETE)"
    1.24 -    depends on OBSOLETE
    1.25 +    prompt "ELF"
    1.26 +    help
    1.27 +      This will make your system build ELF exectubales,
    1.28 +      suitable for architectures with an MMU.
    1.29  
    1.30 -config BINUTILS_V_2_15
    1.31 +endif # ARCH_USE_MMU
    1.32 +
    1.33 +if ! ARCH_USE_MMU
    1.34 +
    1.35 +config ARCH_BINFMT_FLAT
    1.36      bool
    1.37 -    prompt "2.15 (OBSOLETE)"
    1.38 -    depends on OBSOLETE
    1.39 +    prompt "Flat"
    1.40 +    help
    1.41 +      This will build flat binaries, suitable for
    1.42 +      MMU-less architectures.
    1.43  
    1.44 -config BINUTILS_V_2_16_1
    1.45 +config ARCH_BINFMT_FDPIC
    1.46      bool
    1.47 -    prompt "2.16.1"
    1.48 +    prompt "FD_PIC ELF"
    1.49 +    help
    1.50 +      This will build FD_PIC ELF binaries, suitable for
    1.51 +      MMU-less architectures that still require to use
    1.52 +      shared libraries (FIXME).
    1.53  
    1.54 -config BINUTILS_V_2_17
    1.55 -    bool
    1.56 -    prompt "2.17"
    1.57 +endif # ! ARCH_USE_MMU
    1.58  
    1.59 -config BINUTILS_V_2_18
    1.60 -    bool
    1.61 -    prompt "2.18"
    1.62 -
    1.63 -config BINUTILS_V_2_18_50_0_4
    1.64 -    bool
    1.65 -    prompt "2.18.50.0.4 (EXPERIMENTAL)"
    1.66 -    depends on EXPERIMENTAL
    1.67 -
    1.68 -config BINUTILS_V_2_18_50_0_6
    1.69 -    bool
    1.70 -    prompt "2.18.50.0.6 (EXPERIMENTAL)"
    1.71 -    depends on EXPERIMENTAL
    1.72 -
    1.73 -config BINUTILS_V_2_18_50_0_7
    1.74 -    bool
    1.75 -    prompt "2.18.50.0.7 (EXPERIMENTAL)"
    1.76 -    depends on EXPERIMENTAL
    1.77 -
    1.78 -config BINUTILS_V_2_18_50_0_8
    1.79 -    bool
    1.80 -    prompt "2.18.50.0.8 (EXPERIMENTAL)"
    1.81 -    depends on EXPERIMENTAL
    1.82 -
    1.83 -config BINUTILS_V_2_18_50_0_9
    1.84 -    bool
    1.85 -    prompt "2.18.50.0.9 (EXPERIMENTAL)"
    1.86 -    depends on EXPERIMENTAL
    1.87 -
    1.88 -config BINUTILS_V_2_18_90
    1.89 -    bool
    1.90 -    prompt "2.18.90 (EXPERIMENTAL)"
    1.91 -    depends on EXPERIMENTAL
    1.92 -
    1.93 -config BINUTILS_V_2_18_91
    1.94 -    bool
    1.95 -    prompt "2.18.91 (EXPERIMENTAL)"
    1.96 -    depends on EXPERIMENTAL
    1.97 -
    1.98 -config BINUTILS_V_2_18_92
    1.99 -    bool
   1.100 -    prompt "2.18.92 (EXPERIMENTAL)"
   1.101 -    depends on EXPERIMENTAL
   1.102 -
   1.103 -config BINUTILS_V_2_18_93
   1.104 -    bool
   1.105 -    prompt "2.18.93 (EXPERIMENTAL)"
   1.106 -    depends on EXPERIMENTAL
   1.107 -
   1.108 -config BINUTILS_V_2_19
   1.109 -    bool
   1.110 -    prompt "2.19"
   1.111 -
   1.112 -config BINUTILS_V_2_19_1
   1.113 -    bool
   1.114 -    prompt "2.19.1"
   1.115 -
   1.116 -config BINUTILS_V_2_19_50_0_1
   1.117 -    bool
   1.118 -    prompt "2.19.50.0.1 (EXPERIMENTAL)"
   1.119 -    depends on EXPERIMENTAL
   1.120 -
   1.121 -config BINUTILS_V_2_19_51_0_1
   1.122 -    bool
   1.123 -    prompt "2.19.51.0.1  (EXPERIMENTAL)"
   1.124 -    depends on EXPERIMENTAL
   1.125 -
   1.126 -config BINUTILS_V_2_19_51_0_2
   1.127 -    bool
   1.128 -    prompt "2.19.51.0.2  (EXPERIMENTAL)"
   1.129 -    depends on EXPERIMENTAL
   1.130 -
   1.131 -# CT_INSERT_VERSION_ABOVE
   1.132 -# Don't remove above line!
   1.133  endchoice
   1.134  
   1.135 -config BINUTILS_VERSION
   1.136 -    string
   1.137 -    default "2.14" if BINUTILS_V_2_14
   1.138 -    default "2.15" if BINUTILS_V_2_15
   1.139 -    default "2.16.1" if BINUTILS_V_2_16_1
   1.140 -    default "2.17" if BINUTILS_V_2_17
   1.141 -    default "2.18" if BINUTILS_V_2_18
   1.142 -    default "2.18.50.0.4" if BINUTILS_V_2_18_50_0_4
   1.143 -    default "2.18.50.0.6" if BINUTILS_V_2_18_50_0_6
   1.144 -    default "2.18.50.0.7" if BINUTILS_V_2_18_50_0_7
   1.145 -    default "2.18.50.0.8" if BINUTILS_V_2_18_50_0_8
   1.146 -    default "2.18.50.0.9" if BINUTILS_V_2_18_50_0_9
   1.147 -    default "2.18.90" if BINUTILS_V_2_18_90
   1.148 -    default "2.18.91" if BINUTILS_V_2_18_91
   1.149 -    default "2.18.92" if BINUTILS_V_2_18_92
   1.150 -    default "2.18.93" if BINUTILS_V_2_18_93
   1.151 -    default "2.19" if BINUTILS_V_2_19
   1.152 -    default "2.19.1" if BINUTILS_V_2_19_1
   1.153 -    default "2.19.50.0.1" if BINUTILS_V_2_19_50_0_1
   1.154 -    default "2.19.51.0.1" if BINUTILS_V_2_19_51_0_1
   1.155 -    default "2.19.51.0.2" if BINUTILS_V_2_19_51_0_2
   1.156 -# CT_INSERT_VERSION_STRING_ABOVE
   1.157 -# Don't remove above line!
   1.158 -
   1.159 -config BINUTILS_EXTRA_CONFIG
   1.160 -    string
   1.161 -    prompt "binutils extra config"
   1.162 -    default ""
   1.163 -    help
   1.164 -      Extra flags passed onto ./configure when configuring
   1.165 -
   1.166 -config BINUTILS_FOR_TARGET
   1.167 -    bool
   1.168 -    prompt "binutils libraries for the target"
   1.169 -    depends on ! BARE_METAL
   1.170 -    default n
   1.171 -    help
   1.172 -      Some utilities may need binutils libraries to be available on
   1.173 -      the target, eg. oprofile.
   1.174 -
   1.175 -if BINUTILS_FOR_TARGET
   1.176 -
   1.177 -config BINUTILS_FOR_TARGET_IBERTY
   1.178 -    bool
   1.179 -    prompt "libiberty"
   1.180 -    default y
   1.181 -
   1.182 -config BINUTILS_FOR_TARGET_BFD
   1.183 -    bool
   1.184 -    prompt "libbfd"
   1.185 -    default y
   1.186 -
   1.187 -endif # BINUTILS_FOR_TARGET
   1.188 +source config/binutils/binutils.in
   1.189 +source config/binutils/elf2flt.in
   1.190  
   1.191  endmenu