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.
This commit is contained in:
Alexey Neyman 2017-01-11 22:29:34 -08:00
parent fddbf8f99e
commit 01bae48719

View File

@ -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