Export TARGET_TOOLCHAIN_ROOT

This is still used by brillo to find GCC for the kernel build.

Change-Id: I19238b1cc9c4220224048afebbdf6032015c3e89
This commit is contained in:
Dan Willemsen 2016-05-26 15:23:07 -07:00
parent 08693d2bf2
commit 0bd588787b
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ func makeVarsToolchain(ctx android.MakeVarsContext, secondPrefix string,
ctx.Strict(makePrefix+"NDK_GCC_VERSION", toolchain.GccVersion())
}
ctx.Strict(makePrefix+"TOOLCHAIN_ROOT", toolchain.GccRoot())
ctx.Strict(makePrefix+"TOOLS_PREFIX", gccCmd(toolchain, ""))
ctx.Strict(makePrefix+"SHLIB_SUFFIX", toolchain.ShlibSuffix())
ctx.Strict(makePrefix+"EXECUTABLE_SUFFIX", toolchain.ExecutableSuffix())