/**************************************************************************** * I.MX6 U-boot编译找不到用户目录 * 说明: * 获取了U-boot的源码,但是编译出了问题,没有找到对应的目录出错了。 * * 2016-7-26 深圳 南山平山村 曾剑锋 ***************************************************************************/ 一、错误现象: myzr@myzr:~/uboot/uboot-imx$ ./remake.sh Configuring for mx6dl_sabresd_android board... Generating include/autoconf.mk Generating include/autoconf.mk.dep for dir in tools examples/standalone examples/api ; do make -C $dir _depend ; done make[1]: Entering directory `/home/myzr/uboot/uboot-imx/tools' make[1]: Nothing to be done for `_depend'. make[1]: Leaving directory `/home/myzr/uboot/uboot-imx/tools' make[1]: Entering directory `/home/myzr/uboot/uboot-imx/examples/standalone' make[1]: Nothing to be done for `_depend'. make[1]: Leaving directory `/home/myzr/uboot/uboot-imx/examples/standalone' make[1]: Entering directory `/home/myzr/uboot/uboot-imx/examples/api' make[1]: Nothing to be done for `_depend'. make[1]: Leaving directory `/home/myzr/uboot/uboot-imx/examples/api' make -C tools all make[1]: Entering directory `/home/myzr/uboot/uboot-imx/tools' make[1]: *** No rule to make target `/home/lee/myandroid/bootable/bootloader/uboot-imx/tools/bmp_logo.c', needed by `bmp_logo.o'. Stop. make[1]: Leaving directory `/home/myzr/uboot/uboot-imx/tools' make: *** [tools] Error 2 二、错误原因: 不存在/home/lee/myandroid/bootable/bootloader/uboot-imx/tools/bmp_logo.c目录,其中的lee用户是不存在的。 三、解决办法: 1. make distclean 2. remake.sh
时间: 2024-11-02 00:50:16