本文共 1850 字,大约阅读时间需要 6 分钟。
#!/bin/shset -x KERNEL=$PWDfind $KERNEL/arch/arm/boot/ -name "*.[chsS]" -print > $KERNEL/cscope.filesfind $KERNEL/arch/arm/common/ -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/arch/arm/kernel/ -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/arch/arm/lib/ -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/arch/arm/mach-s3c2410/ -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/arch/arm/mach-s3c2440/ -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/arch/arm/mm/ -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/arch/arm/nwfpe/ -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/arch/arm/plat-s3c24xx/ -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/arch/arm/vfp/ -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/block -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/crypto -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/drivers -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/fs -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/include/acpi/ -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/include/asm-arm/ -maxdepth 1 -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/include/asm-arm/arch-s3c2410/ -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/include/asm-arm/mach/ -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/include/asm-arm/plat-s3c24xx/ -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/include/asm-arm/hardware/ -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/include/linux/ -name "*.[chsS]" -print >> $KERNEL/cscope.filesfind $KERNEL/init/ -name "*.[chsS]" -print >> $KERNEL/cscope.filescscope -bkq -i $KERNEL/cscope.filesctags -n -f tags --fields=+aiS * -L $KERNEL/cscope.filesexport CSCOPE_DB=$KERNEL/cscope.out
转载地址:http://qpuhj.baihongyu.com/