summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-01-12 06:29:34 (GMT)
committerAlexey Neyman <stilor@att.net>2017-01-13 07:00:20 (GMT)
commit01bae4871994429725a34298787a04221fd1368d (patch)
treec9886e85558b7dd68117fdedb65c28d283ca0d13 /config
parentfddbf8f99e5e4ca6d38ab89064b7017111031182 (diff)
Do not use sysroot in bare metal.
None of the bare metal C library choices (avr-libc, newlib) support installing into sysroot. Nor does it make any sense, since sysroot implies a file system, which in turn implies an OS.
Diffstat (limited to 'config')
-rw-r--r--config/toolchain.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/toolchain.in b/config/toolchain.in
index b8c1b4a..5a5f929 100644
--- a/config/toolchain.in
+++ b/config/toolchain.in
@@ -4,12 +4,13 @@ comment "General toolchain options"
config FORCE_SYSROOT
bool
- default y if !OBSOLETE
+ default y if !OBSOLETE && !BARE_METAL
select USE_SYSROOT
config USE_SYSROOT
bool
prompt "Use sysroot'ed toolchain"
+ depends on !BARE_METAL
default y
help
Use the 'shinny new' sysroot feature of gcc: libraries split between