使用具有适当供应商名称的工具链

Using toolchain with proper vendor name

我必须使用外部工具链来编译我得到的一些源代码。源代码没有配置文件,只有一个似乎是自动生成的 Makefile。

Makefile 引用了 mips-linux-[cc|ar|ld|...],但我提供的工具链有不同的命名。

有什么方法可以告诉 make 使用其他命名方案吗?

答案是:CROSS=my-custom-toolchain-prefix