Date: Fri, 8 Dec 2000 12:36:33 -0800 (PST) From: Jason Evans <jasone@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/share/mk bsd.kmod.mk src/sys/conf kmod.mk Message-ID: <200012082036.eB8KaXc00683@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jasone 2000/12/08 12:36:33 PST
Modified files:
share/mk bsd.kmod.mk
sys/conf kmod.mk
Log:
Do not check for existence of ${_dir}/kern/ , because for modules that set
.PATH to ${.CURDIR}/[...]/kern , the "exists" expression will fail for the
form exists(${.CURDIR}/[...]/kern/). This appears to be happening because
make is searching for the argument to "exists" by using .PATH rather than a
relative search, because .PATH and the argument match at the beginning.
Additionally, make appears to consider a path that starts with ${.CURDIR}
as relative, even though it expands to an absolute path.
The reason that most people aren't seeing this problem is that the absolute
paths of /usr/src/sys and /sys are also searched, so as long as the kernel
source can be found in at least one of those places, no problems surface.
This problem was inadvertently introduced on 1 December 2000, with the
addition of the sysvipc modules.
Revision Changes Path
1.86 +3 -3 src/share/mk/bsd.kmod.mk
1.86 +2 -2 src/sys/conf/kmod.mk
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012082036.eB8KaXc00683>
