cscope.file and tags for uboot 2012.04
来源:互联网 发布:女生 小爱好 知乎 编辑:程序博客网 时间:2024/06/06 17:53
#!/bin/bash
UBOOT=$PWD
#generate the cscope.files
find $UBOOT \
-path "$UBOOT/include/configs*" -prune -o \
-path "$UBOOT/board/*" -prune -o \
-path "$UBOOT/drivers/serial/*" -prune -o \
-path "$UBOOT/nand_spl/*" -prune -o \
-path "$UBOOT/onenand_ipl/*" -prune -o \
-path "$UBOOT/doc/*" -prune -o \
-path "$UBOOT/arch/arm/cpu/*" -prune -o \
-path "$UBOOT/arch/arm/include/asm/*" ! -path "$UBOOT/arch/arm/include/asm/arch-s3c24x0*" -prune -o \
-path "$UBOOT/arch/*" ! -path "$UBOOT/arch/arm*" -prune -o \
-path "$UBOOT/examples/*" -prune -o \
-path "$UBOOT/tools/*" -prune -o \
-name "*.[chsS]" -print > $UBOOT/cscope.files
find $UBOOT/include/configs/ -name smdk2440.h >> $UBOOT/cscope.files
find $UBOOT/board/samsung/smdk2440/ -name "*.[chsS]" >> $UBOOT/cscope.files
find $UBOOT/drivers/serial/ -name serial_s3c24x0.c >> $UBOOT/cscope.files
find $UBOOT/arch/arm/cpu/arm920t/s3c24x0/ -name "*.[chsS]" >> $UBOOT/cscope.files
cscope -bkq -i $UBOOT/cscope.files
#generate the cppcomplete
ctags -n -f cppcomplete.tags --fields=+ai --C++-types=+p * -L $UBOOT/cscope.files
#Try setting the $CSCOPE_DB environment variable to point to a Cscope database you create, so you won't always need to launch Vim in the same directory as the database.
#export CSCOPE_DB
export CSCOPE_DB=$UBOOT/cscope.out
#ctags use tags as defualt.
cp cppcomplete.tags tags
UBOOT=$PWD
#generate the cscope.files
find $UBOOT \
-path "$UBOOT/include/configs*" -prune -o \
-path "$UBOOT/board/*" -prune -o \
-path "$UBOOT/drivers/serial/*" -prune -o \
-path "$UBOOT/nand_spl/*" -prune -o \
-path "$UBOOT/onenand_ipl/*" -prune -o \
-path "$UBOOT/doc/*" -prune -o \
-path "$UBOOT/arch/arm/cpu/*" -prune -o \
-path "$UBOOT/arch/arm/include/asm/*" ! -path "$UBOOT/arch/arm/include/asm/arch-s3c24x0*" -prune -o \
-path "$UBOOT/arch/*" ! -path "$UBOOT/arch/arm*" -prune -o \
-path "$UBOOT/examples/*" -prune -o \
-path "$UBOOT/tools/*" -prune -o \
-name "*.[chsS]" -print > $UBOOT/cscope.files
find $UBOOT/include/configs/ -name smdk2440.h >> $UBOOT/cscope.files
find $UBOOT/board/samsung/smdk2440/ -name "*.[chsS]" >> $UBOOT/cscope.files
find $UBOOT/drivers/serial/ -name serial_s3c24x0.c >> $UBOOT/cscope.files
find $UBOOT/arch/arm/cpu/arm920t/s3c24x0/ -name "*.[chsS]" >> $UBOOT/cscope.files
cscope -bkq -i $UBOOT/cscope.files
#generate the cppcomplete
ctags -n -f cppcomplete.tags --fields=+ai --C++-types=+p * -L $UBOOT/cscope.files
#Try setting the $CSCOPE_DB environment variable to point to a Cscope database you create, so you won't always need to launch Vim in the same directory as the database.
#export CSCOPE_DB
export CSCOPE_DB=$UBOOT/cscope.out
#ctags use tags as defualt.
cp cppcomplete.tags tags
0 0
- cscope.file and tags for uboot 2012.04
- uboot 2012.04 tags cscope.files
- uboot 12.04 ctags cscope shell file.
- Vim cscope ctags tags
- vim+tags+cscope+taglist
- make tags cscope
- vim+tags+cscope+taglist
- tags cscope 在vim中
- 公布生成cscope.out, cscope.files, tags的脚本文件
- Vim+cscope+ctags+tags阅读源代码
- Vim+cscope+ctags+tags阅读源代码(转载)
- Vim+cscope+ctags+tags阅读源代码
- Vim+cscope+ctags+tags阅读源代码
- Vim+cscope+ctags+tags阅读源代码
- Vim+cscope+ctags+tags阅读源代码
- Vim+cscope+ctags+tags阅读源代码
- Vim+cscope+ctags+tags阅读源代码
- Vim+cscope+ctags+tags阅读源代码
- JDBC连接MySQL
- ASM笔记4--智能存放
- boost::asio学习之[二]boost::asio::strand
- PADS中CAM输出的相关设置
- objective-c 语言 数组遍历的4种方式
- cscope.file and tags for uboot 2012.04
- 词法分析(Java实现)不用状态机
- javascript基础学习-语法学习(二)
- 夜已很晚,却依旧有人无眠
- 基于OpenCL的数字地形分析之坡度坡向提取
- 第6周作业4-Java之冒泡排序
- iOS icon 图标设置
- NoSQL 是什么
- j2ee核心技术