Add support for a distinct SYSROOT location

This location cannot be prefix-aware as we don't currently have any
variable to represent that. Given that this is intended to be used
with crossdev toolchains under /usr/${CHOST}, that should not
matter. Even if that location is nested within a prefixed system, it
does not need to be aware of that as it is not intended for execution.

Cherry-picked from
Upstream status: Not sent


Change-Id: I98f95bc6f2ba9240174ee7d0602cae8868d3f4b1
Tested-by: Chris McDonald <>
Commit-Ready: Chris McDonald <>
Legacy-Commit-Queue: Commit Bot <>
Reviewed-by: Mike Frysinger <>
2 files changed