博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
uboot 2012.04 tags cscope.files
阅读量:3525 次
发布时间:2019-05-20

本文共 1366 字,大约阅读时间需要 4 分钟。

#!/bin/bashUBOOT=$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.filesfind $UBOOT/include/configs/ -name mini2440.h >>  $UBOOT/cscope.files	find $UBOOT/board/samsung/mini2440/ -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 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

转载地址:http://epuhj.baihongyu.com/

你可能感兴趣的文章
react父子组件间的通信和传值
查看>>
vue-cli3.0设置环境变量
查看>>
vue父组件直接操作子组件的方法(不通过$emit和$on)
查看>>
vue上传文件到UCloud
查看>>
获取input选择文件的本地地址
查看>>
React绑定全局方法或变量
查看>>
js监听div标签上面的自定义属性
查看>>
navcat如何重置窗口
查看>>
代码注入
查看>>
off-by-one
查看>>
ctf-pwn的一些小技巧
查看>>
POJ 1915 Knight Moves
查看>>
Git 撤销修改
查看>>
Git 删除文件
查看>>
Git与远程仓库关联以及关联错误解决方法
查看>>
[HDU] 平方和与立方和
查看>>
[HDU 2096] 小明A+B
查看>>
[HDU 2520] 我是菜鸟,我怕谁(不一样的for循环)
查看>>
[HDU 1215] 七夕节(求因子,不超时)
查看>>
[POJ 1915] Knight Moves
查看>>