我之前参考了这个文档进行配置
software-dl.ti.com/.../U-Boot.html
但在以下步骤时出现问题,文档为:
At this point the initial baseline is complete and we should have a custom board that will run on the platform the board port was based on (TI EVM). Now to complete this step, do the following:
Build our custom board port using the usual flow of first building the newly created defconfig file, and then performing the actual build of SPL and U-Boot. Fix any build errors you may encounter and re-build until the build performs cleanly, without any build warnings. Ensure that the toolchain path has been set properly.
make ARCH=arm CROSS_COMPILE='arm-linux-gnueabihf-' mrproper
make ARCH=arm CROSS_COMPILE='arm-linux-gnueabihf-' <device>_<myboard>_defconfig
make ARCH=arm CROSS_COMPILE='arm-linux-gnueabihf-'
但我使用make之后,出现报错:
/ti-processor-sdk-linux-am335x-evm-06.03.00.106/board-support/u-boot-2019.01+gitAUTOINC+333c3e72d3-g333c3e72d3$ makescripts/kconfig/conf --syncconfig Kconfig
CHK include/config.h
CFG u-boot.cfgIn
file included from ./include/common.h:17:0:include/config.h:5:22: fatal error: configs/.h: 没有那个文件或目录
compilation terminated.scripts/Makefile.autoconf:77: recipe for target 'u-boot.cfg' failedmake[1]: *** [u-boot.cfg] Error 1make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'。 停止。
接着我查看了configs.h文件,他是自动生成的,无法修改,文件内容如下
/* Automatically generated - do not edit */
#define CONFIG_BOARDDIR board/
#include <config_defaults.h>
#include <config_uncmd_spl.h>
#include <configs/.h>
#include <asm/config.h>
#include <linux/kconfig.h>
#include <config_fallbacks.h>
请问这个如何处理,谢谢。