在为beagle bone制作u-boot时找不到configs / .h

问题描述 投票:0回答:1

我正在为beagle bone black定制u-boot。我克隆了u-boot git并结帐到v2015.07。当我运行make命令时,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 ^ ~~~~~~~~~~~编译终止。 scripts / Makefile.autoconf:72:目标'include / autoconf.mk'的配方失败make [1]:*** [include / autoconf.mk]错误1

有没有人像我一样得到同样的错误?请帮我解决这个问题。先感谢您。

beagleboneblack u-boot
1个回答
0
投票

要构建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更新的版本。

© www.soinside.com 2019 - 2024. All rights reserved.