aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-11-27 10:18:56 +0000
committerBruce Evans <bde@FreeBSD.org>1998-11-27 10:18:56 +0000
commitfcd70874b406a7dbffbe9a3c498a8a5fc1fa94a3 (patch)
tree03af6fc5f73b248c0eb5228f106719ba23bc2629 /tools
parent8dbc5051b35a005b706913cd91682564acbf4ff4 (diff)
downloadsrc-fcd70874b406a7dbffbe9a3c498a8a5fc1fa94a3.tar.gz
src-fcd70874b406a7dbffbe9a3c498a8a5fc1fa94a3.zip
Ignore objects used to build utilities (*aicasm*.o and *genassym*.o).
Notes
Notes: svn path=/head/; revision=41372
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/kernxref/kernxref.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/tools/kernxref/kernxref.sh b/tools/tools/kernxref/kernxref.sh
index ca483c56942c..60cd62f6472f 100644
--- a/tools/tools/kernxref/kernxref.sh
+++ b/tools/tools/kernxref/kernxref.sh
@@ -7,13 +7,14 @@
# this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
# ----------------------------------------------------------------------------
#
-# $Id$
+# $Id: kernxref.sh,v 1.8 1997/02/22 14:08:32 peter Exp $
#
# This shellscript will make a cross reference of the symbols of the LINT
# kernel.
cd /sys/compile/LINT
-nm -gon *.o /lkm/*.o | tr : ' ' | awk '
+nm -gon `echo *.o /lkm/*.o | tr ' ' '\012' | egrep -v '(aicasm|genassym)'` |
+ tr : ' ' | awk '
NF > 1 {
if (length($2) == 8) {
$2 = $3