【问题标题】:Can't find configs/.h when make u-boot for beagle bone为 beagle bone 制作 u-boot 时找不到 configs/.h
【发布时间】:2019-02-17 04:20:56
【问题描述】:

我正在为 beagle bone black 定制 u-boot。我将 u-boot git 和 checkout 克隆到 v2015.07。当我运行 make 命令时, 使 CROSS_COMPILE=arm-cortex_a8-linux-gnueabihf- 它显示如下错误:

/u-boot((HEAD detached at v2015.07))$ make CROSS_COMPILE=arm-cortex_a8-linux-gnueabihf- 

scripts/kconfig/conf --silentoldconfig Kconfig CHK
include/config.h GEN include/autoconf.mk 在包含的文件中 ./include/common.h:18: include/config.h:5:10: 致命错误:configs/.h: 没有这样的文件或目录#include ^~~~~~~~~~~~ 编译终止。脚本/Makefile.autoconf:72:目标“include/autoconf.mk”的配方 make[1] 失败:*** [include/autoconf.mk] 错误 1

有人遇到和我一样的错误吗?请帮我解决这个问题。提前谢谢你。

【问题讨论】:

    标签: beagleboneblack u-boot


    【解决方案1】:

    要构建 U-Boot,您首先必须创建文件 .config:

    make omap3_beagle_defconfig
    

    下一步是实际构建 U-Boot。

    CROSS_COMPILE=arm-linux-gnueabihf- make
    

    U-Boot 当前版本为 v2019.01,兼容 GCC 6、7 和 8。

    我建议您构建比 v2015.07 更新的版本。

    【讨论】:

    • 当我想清理我制作的东西时,运行 make distclean。对吗?
    • make mrproper 清理一切。
    猜你喜欢
    • 2019-02-12
    • 1970-01-01
    • 1970-01-01
    • 2019-01-05
    • 2020-07-03
    • 2020-09-25
    • 2015-09-01
    • 1970-01-01
    • 2014-01-23
    相关资源
    最近更新 更多