Rodney W. Grimes <freebsd-...@pdx.rh.cn85.dnsmgr.net> wrote:
> Thank you, that does help narrow it down:  (I backed up a vew lines
> from the first place I saw src/.)
> 
> ...
> Global:.PARSEFILE = bsd.kmod.mk
> Global:.PARSEDIR = /usr/src-topo/share/mk
> Global:.PARSEFILE = bsd.kmod.mk
> Result[] of :U is "/usr/src/sys"
> Result[] of :U is "/usr/src/sys"
> Global:SYSDIR = ${:U/usr/src/sys:tA}

That's from the .for loop in bsd.kmod.mk which is clearly inadequate.

Since the tree for some time now, reliably sets SRCTOP
that list should start with ${SRCTOP}/sys
or ${SRCTOP:Uno}/sys just to be sure you ignore it if somehow unset.


> So something in bsd.kmod.mk is going very wrong... it looks like it
> starts to pull all sorts of stuff from /usr/src/sys!
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to