Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern use ${.CURDIR:H:H} instead of ../.. for default set...



details:   https://anonhg.NetBSD.org/src/rev/ea4ba2f606df
branches:  trunk
changeset: 508718:ea4ba2f606df
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Apr 18 11:21:24 2001 +0000

description:
use ${.CURDIR:H:H} instead of ../.. for default setting of SYSDIR,
because the latter doesn't work with objdirs

diffstat:

 sys/kern/Make.tags.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r af2d2c3967d0 -r ea4ba2f606df sys/kern/Make.tags.inc
--- a/sys/kern/Make.tags.inc    Wed Apr 18 11:07:26 2001 +0000
+++ b/sys/kern/Make.tags.inc    Wed Apr 18 11:21:24 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Make.tags.inc,v 1.9 2001/04/03 16:56:16 jhawk Exp $
+#      $NetBSD: Make.tags.inc,v 1.10 2001/04/18 11:21:24 lukem Exp $
 #
 #      from: @(#)Make.tags.inc 8.1 (Berkeley) 6/11/93
 
@@ -14,7 +14,7 @@
 # the arch directories. Traditionally, COMM would have been an explicit list.
 # This promises to be easier to maintain, considering how often the directory
 # structure of the kernel sources has been changing recently.
-SYSDIR?= ../..
+SYSDIR?= ${.CURDIR:H:H}
 COMM!= find -H ${SYSDIR} -name arch -prune -o -name "*.[ch]" -print | \
                sed 's@\(.*/\).*\..*@\1*.\[ch\]@' | sort -t / -u
 .endif



Home | Main Index | Thread Index | Old Index