Use etags If static, set file name to __static__ -> special case If extern, forget this one If already defined, remove previous definition and forget this one. Use emacs to process current file too arch -> only do arch/$arch, include/asm-$arch -> link include/asm to the real asm-$arch