summaryrefslogtreecommitdiff
path: root/config/toolchain.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-01-11 22:29:34 -0800
committerAlexey Neyman <stilor@att.net>2017-01-12 23:00:20 -0800
commit01bae4871994429725a34298787a04221fd1368d (patch)
treec9886e85558b7dd68117fdedb65c28d283ca0d13 /config/toolchain.in
parentfddbf8f99e5e4ca6d38ab89064b7017111031182 (diff)
downloadcrosstool-ng-01bae4871994429725a34298787a04221fd1368d.tar.gz
crosstool-ng-01bae4871994429725a34298787a04221fd1368d.tar.bz2
crosstool-ng-01bae4871994429725a34298787a04221fd1368d.zip
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/toolchain.in')
-rw-r--r--config/toolchain.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/toolchain.in b/config/toolchain.in
index b8c1b4af..5a5f9294 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