Skip to content

Instantly share code, notes, and snippets.

@dlintw
Created August 24, 2013 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlintw/6325883 to your computer and use it in GitHub Desktop.
Save dlintw/6325883 to your computer and use it in GitHub Desktop.
cscope for nextvod uboot source
mkdir -p cscope
FILE=$PWD/cscope/cscope.files
find "$PWD/src/" \
"$PWD/src/board/st/pdk7105" \
"$PWD/src/common" \
"$PWD/src/cpu/sh" \
"$PWD/src/cpu/sh/stx7105" \
"$PWD/src/disk" \
"$PWD/src/fs" \
"$PWD/src/include" \
"$PWD/src/include/linux" \
"$PWD/src/include/configs" \
"$PWD/src/include/asm-sh" \
"$PWD/src/lib_generic" \
"$PWD/src/lib_sh" \
"$PWD/src/nand_spl" \
"$PWD/src/net" \
-maxdepth 1 -type f -name "*.[ch]" -print | sort > $FILE
find "$PWD/src/drivers" -type f -name "*.[ch]" -print | sort >> $FILE
cd cscope
cscope -b -q -k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment