config/toolchain: force use of sysroot if OBSOLETE is not set
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jan 25 22:14:52 2011 +0100 (2011-01-25)
changeset 22811333e4ac89f0
parent 2280 3d480d12124e
child 2282 fa5c70b11fec
config/toolchain: force use of sysroot if OBSOLETE is not set

Use of the sysroot is highly recommended, and the non-sysroot case is
both obsolete and not widely tested.

Before the non-sysroot case can go away, deprecate it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
config/toolchain.in
     1.1 --- a/config/toolchain.in	Tue Jan 25 21:59:03 2011 +0100
     1.2 +++ b/config/toolchain.in	Tue Jan 25 22:14:52 2011 +0100
     1.3 @@ -2,6 +2,12 @@
     1.4  
     1.5  comment "General toolchain options"
     1.6  
     1.7 +config FORCE_SYSROOT
     1.8 +    bool
     1.9 +    default y if !OBSOLETE
    1.10 +    default n if OBSOLETE
    1.11 +    select USE_SYSROOT
    1.12 +
    1.13  config USE_SYSROOT
    1.14      bool
    1.15      prompt "Use sysroot'ed toolchain"