首页 > 解决方案 > Buildroot - menuconfig 创建配置,但不会生成

问题描述

我正在尝试使用 buildroot 为 MIPS64(小端序)创建交叉编译器工具链。

我已经运行make menuconfig并将目标设置为 MIPS64(小端)。另外我被告知配置文件已经生成,我可以运行 make (如下)

configuration written to /home/blah/Downloads/buildroot-2018.02.6/mipsel64.config

*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

所以,然后我运行make并得到以下信息:

Makefile:864: *** Please configure Buildroot first (e.g. "make menuconfig").  Stop.

有任何想法吗?

标签: makefilecross-compilingbuildrootmips64linux-toolchain

解决方案


尝试将 buildroot 配置文件复制到 buildroot 目录中的 .config 文件。它可能看起来像:

cp /home/blah/Downloads/buildroot-2018.02.6/mipsel64.config /home/blah/Downloads/buildroot-2018.02.6/.config

假设 /home/blah/Downloads/buildroot-2018.02.6/ 是您的 buildroot 编译目录。

然后尝试做make。


推荐阅读