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>
This commit is contained in:
Yann E. MORIN" 2011-01-25 22:14:52 +01:00
parent 8efc6dae8a
commit cec4bbf5c0

View File

@ -2,6 +2,12 @@ menu "Toolchain options"
comment "General toolchain options"
config FORCE_SYSROOT
bool
default y if !OBSOLETE
default n if OBSOLETE
select USE_SYSROOT
config USE_SYSROOT
bool
prompt "Use sysroot'ed toolchain"