为 beagle bone 制作 u-boot 时找不到 configs/.h
Can't find configs/.h when make u-boot for beagle bone
我正在为 beagle bone black 定制 u-boot。我克隆了 u-boot git 并签出到 v2015.07。当我 运行 命令时,
使 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 In file included from
./include/common.h:18: include/config.h:5:10: fatal error: configs/.h:
No such file or directory #include
^~~~~~~~~~~~ compilation terminated. scripts/Makefile.autoconf:72: recipe for target 'include/autoconf.mk'
failed make[1]: *** [include/autoconf.mk] Error 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 更新的版本。
我正在为 beagle bone black 定制 u-boot。我克隆了 u-boot git 并签出到 v2015.07。当我 运行 命令时, 使 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 In file included from ./include/common.h:18: include/config.h:5:10: fatal error: configs/.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. scripts/Makefile.autoconf:72: recipe for target 'include/autoconf.mk' failed make[1]: *** [include/autoconf.mk] Error 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 更新的版本。