From owner-freebsd-current Sat Nov 11 15:20:39 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA10614 for current-outgoing; Sat, 11 Nov 1995 15:20:39 -0800 Received: from linus.demon.co.uk (linus.demon.co.uk [158.152.10.220]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA10582 for ; Sat, 11 Nov 1995 15:20:30 -0800 Received: (from mark@localhost) by linus.demon.co.uk (8.7.1/8.7.1) id XAA22220; Sat, 11 Nov 1995 23:20:48 GMT Date: Sat, 11 Nov 1995 23:20:48 GMT From: Mark Valentine Message-Id: <199511112320.XAA22220@linus.demon.co.uk> In-Reply-To: Terry Lambert's message of Nov 11, 2:43pm X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: Terry Lambert , bde@zeta.org.au (Bruce Evans) Subject: Re: LKM's still wont compile in -currn^eent Cc: current@FreeBSD.org, root@deadline.snafu.de Sender: owner-current@FreeBSD.org Precedence: bulk > From: Terry Lambert > Date: Sat 11 Nov, 1995 > Subject: Re: LKM's still wont compile in -currn^eent > > Install bsd.kmod.mk. > > Thank you. This provides an example of broken code for maintaining > -stable and -current on the same machine other than the "config" program > itself. One way to help make source trees self-sufficient might be to start every Makefile with something like: TOP = ../.. .MAKEFLAGS: -I${TOP}/share/mk (where the ../.. varies according to the position in the source tree). I use a similar scheme in a build system I designed (except that it doesn't depend on luxuries like BSD make's .MAKEFLAGS rule, so every include line has to refer explicitly to the mk directory...). Mark. --