summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-11-27 10:18:56 +0000
committerbde <bde@FreeBSD.org>1998-11-27 10:18:56 +0000
commit3e9a76f2a538a75a101081c1c8a59de72a559c59 (patch)
tree71780506a9856e28d16d8ee87af912cb354e872b /tools
parente8d40b7bc13c2e24cdeb703a1b7573dbf0ef0746 (diff)
downloadFreeBSD-src-3e9a76f2a538a75a101081c1c8a59de72a559c59.zip
FreeBSD-src-3e9a76f2a538a75a101081c1c8a59de72a559c59.tar.gz
Ignore objects used to build utilities (*aicasm*.o and *genassym*.o).
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 ca483c5..60cd62f 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
OpenPOWER on IntegriCloud