diff options
author | Mark Ferrell <major@homeonderanged.org> | 2014-04-08 14:29:50 -0700 |
---|---|---|
committer | Mark Ferrell <major@homeonderanged.org> | 2014-04-08 14:29:50 -0700 |
commit | 7899ac0b991dade942d0ac64472a857ac020e2bc (patch) | |
tree | a6efb5c0c93187459eb98cac52937ee8cdaf7295 | |
parent | 996fa9a2e36df7f88a2dda2393b35942b0e5120e (diff) |
sysroot needed by makedeps and other make targets
* We previously removed the SYSROOT declaration believing it to be a candidate
for the coming build-config command. It turns out that this not the case.
While SYSROOT can be set as a build-config directive, it is not optional for
builder to function.
-rwxr-xr-x | build | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -198,6 +198,11 @@ export BUILDER_CFGDIR BUILDER_PKGDIR BUILDER_SRCDIR export BUILDER_ATFDIR BUILDER_LIBDIR BUILDER_TOPDIR export BUILDER_TMPDIR +# The default SYSROOT .. Much of the toolchain already obeys SYSROOT .. we +# aren't setting a policy so much as obeying one. +SYSROOT="${SYSROOT:-${BUILDER_TOPDIR}/sysroot}" +export SYSROOT + # We save the pre-config PATH as BUILDER_PATH to be used by downstream tools. # FIXME detect prefixing BUILDER_LIBDIR onto PATH multiple times? BUILDER_PATH="${BUILDER_LIBDIR}:${PATH}" |