diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-11-12 17:11:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-11-12 17:11:45 +0000 |
commit | ed7f9f9073ff56b852d481e94e86acad136ed9ec (patch) | |
tree | d5d7bfd862a9ec006d4e2da3c174a8624ef11bf3 /sys/arch/i386 | |
parent | a48c673d6666f13fc0747e285e24ea16cf0d8cc1 (diff) |
Push all potential (as in, all system MI not utilized by the bootblocks)
.h files into the ctags run as well to bring #define's and structs and
such into scope. Problem reported by thib
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/Makefile b/sys/arch/i386/Makefile index bed28a7901e..1a53aa7abd1 100644 --- a/sys/arch/i386/Makefile +++ b/sys/arch/i386/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.19 2010/11/03 20:08:03 deraadt Exp $ +# $OpenBSD: Makefile,v 1.20 2010/11/12 17:11:44 deraadt Exp $ S= ${.CURDIR}/../.. KFILE= GENERIC @@ -24,10 +24,11 @@ tags:: eval "_mach=\"`make -V _mach -f $${TDIR}/Makefile`\"" && \ eval "_machdir=\$S/arch/$${_mach}" && \ eval "_archdir=\$S/arch/$${_arch}" && \ + eval "HFILES=\"`find $S \( -path $S/'arch' -o -path $S/stand -o -path $S/lib/libsa -o -path $S'/lib/libkern/arch' \) -prune -o -name '*.h'; find $${_machdir} $${_archdir} $S/lib/libkern/arch/$${_mach} \( -name boot -o -name stand \) -prune -o -name '*.h'`\"" && \ eval "SFILES=\"`make -V SFILES -f $${TDIR}/Makefile`\"" && \ eval "CFILES=\"`make -V CFILES -f $${TDIR}/Makefile`\"" && \ eval "AFILES=\"`make -V AFILES -f $${TDIR}/Makefile`\"" && \ - ctags -wd -f ${TAGS} $${CFILES} && \ + ctags -wd -f ${TAGS} $${CFILES} $${HFILES} && \ egrep "^[_A-Z]*ENTRY[_A-Z]*\(.*\)" $${SFILES} $${AFILES} | \ sed "s;\\([^:]*\\):\\([^(]*\\)(\\([^, )]*\\)\\(.*\\);\\3 \\1 /^\\2(\\3\\4$$/;" \ >> ${TAGS} && \ |