基于GEC210的u-boot编译过程问题收集
2016-04-27 23:24
417 查看
硬件平台:GEC210(128MB*4 RAM,256MB NandFlash)
U-Boot版本:u-boot-samsung-dev(android_uboot_smdkv210.tar.bz2)
交叉编译工具链:/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-
问题1:
uboot源码根目录下执行make,出现“Nothing to be done for `_depend’.”错误。
解决办法:执行 make distclean
一般来说,make clean 仅仅是清除之前编译的可执行文件及配置文件。而 make distclean 要清除所有生成的文件。
U-Boot版本:u-boot-samsung-dev(android_uboot_smdkv210.tar.bz2)
交叉编译工具链:/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-
问题1:
uboot源码根目录下执行make,出现“Nothing to be done for `_depend’.”错误。
walle@ubuntu12:~/arm/arm_os/uboot/u-boot-samsung-dev$ make for dir in tools examples api_examples ; do make -C $dir _depend ; done make[1]: Entering directory `/home/walle/arm/arm_os/uboot/u-boot-samsung-dev/tools' make[1]: Nothing to be done for `_depend'. make[1]: Leaving directory `/home/walle/arm/arm_os/uboot/u-boot-samsung-dev/tools' make[1]: Entering directory `/home/walle/arm/arm_os/uboot/u-boot-samsung-dev/examples' make[1]: Nothing to be done for `_depend'. make[1]: Leaving directory `/home/walle/arm/arm_os/uboot/u-boot-samsung-dev/examples' make[1]: Entering directory `/home/walle/arm/arm_os/uboot/u-boot-samsung-dev/api_examples' make[1]: Nothing to be done for `_depend'. make[1]: Leaving directory `/home/walle/arm/arm_os/uboot/u-boot-samsung-dev/api_examples' make -C tools all make[1]: Entering directory `/home/walle/arm/arm_os/uboot/u-boot-samsung-dev/tools' gcc -Wall -pedantic -idirafter /home/walle/arm/arm_os/uboot/u-boot-samsung-dev/include -idirafter /home/walle/arm/arm_os/uboot/u-boot-samsung-dev/include2 -idirafter /home/walle/arm/arm_os/uboot/u-boot-samsung-dev/include -DTEXT_BASE=0xc3e00000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c gcc -Wall -pedantic -idirafter /home/walle/arm/arm_os/uboot/u-boot-samsung-dev/include -idirafter /home/walle/arm/arm_os/uboot/u-boot-samsung-dev/include2 -idirafter /home/walle/arm/arm_os/uboot/u-boot-samsung-dev/include -DTEXT_BASE=0xc3e00000 -DUSE_HOSTCC -O -o img2srec img2srec.o strip img2srec make[1]: *** No rule to make target `/home/walle/arm/arm-os/U-Boot/u-boot-samsung-dev/include/sha1.h', needed by `mkimage.o'. Stop. make[1]: Leaving directory `/home/walle/arm/arm_os/uboot/u-boot-samsung-dev/tools' make: *** [tools] Error 2
解决办法:执行 make distclean
一般来说,make clean 仅仅是清除之前编译的可执行文件及配置文件。而 make distclean 要清除所有生成的文件。
相关文章推荐
- 2016年4月最佳的20款 jQuery 插件推荐
- CentOS安装openoffice的方法
- Qt格式化输出数据
- spring框架学习笔记(九)
- Java类加载器深入理解
- mysql中length()、char_length()的区别
- 3. QQ 登陆
- Android OpenGL 坐标系 <2>
- mysql使用索引
- django 提示ImportError: cannot import name json_response
- 2016年4月份学习总结
- 2016年4月份学习总结
- (3)参与ardupilot项目编程——git实践
- Agera系列《翻译一》
- javascript去掉空格
- 关于宏的一些内容的总结
- 搜索初步-1005
- NSArray排序简记
- Java ArrayList 的不同排序方法
- jQuery 遍历节点之next()方法