uboot1.1.6顶层makefile详解

发布者:和谐相伴最新更新时间:2024-10-21 来源: cnblogs关键字:6  顶层  makefile 手机看文章 扫描二维码
随时随地手机看文章

clobber: clean
 find $(OBJTREE) -type f ( -name .depend
  -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img )
  -print0
  | xargs -0 rm -f
 rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS $(obj)include/version_autogenerated.h
 rm -fr $(obj)*.*~
 rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
 rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c
 rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c
 rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
 [ ! -d $(OBJTREE)/nand_spl ] || find $(obj)nand_spl -lname '*' -print | xargs rm -f

ifeq ($(OBJTREE),$(SRCTREE))
mrproper
distclean: clobber unconfig
else
mrproper
distclean: clobber unconfig
 rm -rf $(OBJTREE)/*
endif

backup:
 F=`basename $(TOPDIR)` ; cd .. ;
 gtar --force-local -zcvf `date '+$$F-%Y-%m-%d-%T.tar.gz'` $$F


[1] [2]
关键字:6  顶层  makefile 引用地址:uboot1.1.6顶层makefile详解

上一篇:uboot1.1.6顶层mkconfig详解
下一篇:8.时钟初始化

小广播
最新单片机文章
何立民专栏 单片机及嵌入式宝典

北京航空航天大学教授,20余年来致力于单片机与嵌入式系统推广工作。

厂商技术中心

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

 
机器人开发圈

电子工程世界版权所有 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2026 EEWORLD.com.cn, Inc. All rights reserved