软件版本:uboot-2013-04
硬件版本:i.MX6DL-Sabreasd
uboot使用的是Makefile来生成uboot镜像的,分析Makefile可以更加清晰的了解uboot的生成过程和源码结构。
uboot在执行make命令之前,执行make mx6dlsabresd_config进行配置,在uboot根目录的Makefile中搜索,可以找到configuration的make目标
unconfig:
@rm -f $(obj)include/config.h $(obj)include/config.mk \
$(obj)board/*/config.tmp $(obj)board/*/*/config.tmp \
$(obj)include/autoconf.mk $(obj)include/autoconf.mk.dep
#在执行xxx_config之前得进行unconfig来删除上次编译所生成的文件
%_config:: uncon