【问题标题】:Buildroot - menuconfig creates config, but won't makeBuildroot - menuconfig 创建配置,但不会生成
【发布时间】:2019-03-24 03:51:51
【问题描述】:

我正在尝试使用 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.

有什么想法吗?

【问题讨论】:

    标签: makefile cross-compiling buildroot mips64 linux-toolchain


    【解决方案1】:

    尝试将 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吧。

    【讨论】:

      【解决方案2】:

      不要让menuconfig 保存到文件,只需退出并在被问到Do you wish to save your new configuration? 时回答Yes。这样,它将保存一个名为 .config 的文件,这正是构建所需的文件。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2019-10-04
        • 1970-01-01
        • 2019-08-04
        • 2018-07-04
        • 2014-06-18
        • 1970-01-01
        • 2016-12-30
        相关资源
        最近更新 更多