Do I Need To Put The Toolchain On My PATH?

Whilst compiling Cyanogenmod I got this error:

ccache: FATAL: Could not find compiler "arm-eabi-gcc" in PATH.

Based on the manifest

the compiler is platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8

If I add that full path to my PATH variable I can compile the ROM successfully.
However, that seems wrong to me.

The compiler is already part of the source tree.
Shouldn't something in one of the make files or build scripts be setting this rather than me setting it manually?

Note: I am not using a custom toolchain, it is the standard one from aosp.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by hfriesen
4 hours ago
Last post by skiles.raymond
37 minutes ago
Last post by anahi.blanda
4 hours ago
Last post by walsh.cora
1 hour ago
Last post by kemmer.misty
4 hours ago
Last post by abbott.emmett
3 hours ago
Last post by myrtie78
2 hours ago
Last post by magdalena.durgan
3 hours ago
Last post by plesch
2 hours ago