freebsd-dev/share/mk
Jason Evans aabafca098 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.
2000-12-08 20:36:32 +00:00
..
bsd.dep.mk $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bsd.doc.mk $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bsd.docb.mk $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bsd.info.mk Don't create a garbage file named "install" for the NOINFO case when 2000-05-15 14:17:50 +00:00
bsd.kern.mk Add section for building ia64 kernels. 2000-10-16 20:04:52 +00:00
bsd.kmod.mk Do not check for existence of ${_dir}/kern/ , because for modules that set 2000-12-08 20:36:32 +00:00
bsd.lib.mk Change "building the standard ${LIB} library" to "building the static 2000-10-02 08:48:49 +00:00
bsd.libnames.mk Add ${LIBC_R} 2000-11-26 22:19:52 +00:00
bsd.man.mk Install the stock (as supplied by groff(1) distribution) tmac.an 2000-12-06 17:02:33 +00:00
bsd.obj.mk Use test -z rather than -n. 2000-11-01 07:09:38 +00:00
bsd.own.mk The kernel is now known as `kernel.ko' and it and its matching modules 2000-09-05 22:37:46 +00:00
bsd.port.mk
bsd.port.post.mk $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bsd.port.pre.mk $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bsd.port.subdir.mk
bsd.prog.mk Check for MAN9 for consistency. 2000-03-23 16:46:20 +00:00
bsd.README Correct instructions/examples about manual pages. 2000-03-23 16:48:04 +00:00
bsd.sgml.mk $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bsd.subdir.mk Fix typo. 2000-01-03 12:16:18 +00:00
Makefile Add bsd.kmod.mk back. 2000-05-27 00:54:45 +00:00
sys.mk Correct a typo 2000-04-21 23:51:58 +00:00