summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-01-25 21:14:52 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-01-25 21:14:52 (GMT)
commitcec4bbf5c083d6abe7bd2f8d006fdb810a092332 (patch)
tree9d03470daeac758f5edbb3bc473090244fb4b819 /config
parent8efc6dae8a781e3fc058cda0b49a0a6cfd745bb5 (diff)
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>
Diffstat (limited to 'config')
-rw-r--r--config/toolchain.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/toolchain.in b/config/toolchain.in
index 07110e4..ca79691 100644
--- a/config/toolchain.in
+++ b/config/toolchain.in
@@ -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"