config/binutils/binutils.in
changeset 2245 a6d790bc17af
parent 2244 dc2d2342e4a9
child 2246 c69f8ef4bc7c
     1.1 --- a/config/binutils/binutils.in	Tue Dec 28 00:11:33 2010 +0100
     1.2 +++ b/config/binutils/binutils.in	Sun Jan 02 13:56:05 2011 +0100
     1.3 @@ -62,10 +62,14 @@
     1.4  config BINUTILS_2_21_or_later
     1.5      bool
     1.6      select BINUTILS_HAS_GOLD
     1.7 +    select BINUTILS_HAS_PLUGINS
     1.8  
     1.9  config BINUTILS_HAS_GOLD
    1.10      bool
    1.11  
    1.12 +config BINUTILS_HAS_PLUGINS
    1.13 +    bool
    1.14 +
    1.15  if BINUTILS_HAS_GOLD
    1.16  
    1.17  choice
    1.18 @@ -128,6 +132,15 @@
    1.19  
    1.20  endif # BINUTILS_HAS_GOLD
    1.21  
    1.22 +config BINUTILS_PLUGINS
    1.23 +    bool
    1.24 +    prompt "Enable support for plugins"
    1.25 +    depends on BINUTILS_HAS_PLUGINS
    1.26 +    help
    1.27 +      binutils can be extended through the use of plugins.
    1.28 +      Especially, gold can use the lto-plugin, as installed
    1.29 +      by gcc, to handle LTO.
    1.30 +
    1.31  config BINUTILS_EXTRA_CONFIG
    1.32      string
    1.33      prompt "binutils extra config"