summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-04-19 09:04:53 +0000
committermarcel <marcel@FreeBSD.org>2002-04-19 09:04:53 +0000
commita11469e541c8d2d9d68fc8df8d22cfb7b3df885c (patch)
tree1ddee0c5a6f52952503df5461985c4ac25097fd1 /sys/conf
parent19d3470c0329a4f70240fb7c64c118a1987829f0 (diff)
downloadFreeBSD-src-a11469e541c8d2d9d68fc8df8d22cfb7b3df885c.zip
FreeBSD-src-a11469e541c8d2d9d68fc8df8d22cfb7b3df885c.tar.gz
Respect setting of NM to allow cross-building.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kmod_syms.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kmod_syms.awk b/sys/conf/kmod_syms.awk
index 9e3aa09..f97a224 100644
--- a/sys/conf/kmod_syms.awk
+++ b/sys/conf/kmod_syms.awk
@@ -2,7 +2,7 @@
# Read global symbols from object file.
BEGIN {
- while ("nm -g " ARGV[1] | getline) {
+ while ("${NM:='nm'} -g " ARGV[1] | getline) {
if (match($0, /^[^[:space:]]+ [^AU] (.*)$/)) {
syms[$3] = $2
}
OpenPOWER on IntegriCloud