From owner-freebsd-current Wed Jun 26 11: 2:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from netscum.dyndns.dk (dclient80-218-19-27.hispeed.ch [80.218.19.27]) by hub.freebsd.org (Postfix) with ESMTP id CD32037B401 for ; Wed, 26 Jun 2002 11:02:14 -0700 (PDT) Received: from netscum.dyndns.dk (localhost [127.0.0.1]) by netscum.dyndns.dk (8.12.2/8.12.2) with ESMTP id g5QI2DtO048717; Wed, 26 Jun 2002 20:02:13 +0200 (CEST) (envelope-from bounce@netscum.dyndns.dk) Received: (from root@localhost) by netscum.dyndns.dk (8.12.2/8.12.2/Submit) id g5QI208l048494; Wed, 26 Jun 2002 20:02:00 +0200 (CEST) Date: Wed, 26 Jun 2002 20:02:00 +0200 (CEST) Message-Id: <200206261802.g5QI208l048494@netscum.dyndns.dk> From: BOUWSMA Beery Organization: Men not wearing any pants that dont shave References: <20020625122532.A3315@dragon.nuxi.com> To: Riccardo Torrini Subject: Re: custom kernel Cc: freebsd-current@freebsd.org X-Hacked: via telnet to your port 25, what else? X-Internet-Access-Provided-By: CABAL MODEM (all hail CABAL) X-NetScum: Yes X-One-And-Only-Real-True-Fluffy: No Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > >> # diff -u2 /usr/src/Makefile.inc1.orig /usr/src/Makefile.inc1 > >> --- /usr/src/Makefile.inc1.orig Mon Apr 29 20:42:50 2002 > >> +++ /usr/src/Makefile.inc1 Tue Jun 25 20:05:28 2002 > >> @@ -402,9 +402,10 @@ > >> KRNLCONFDIR= ${KRNLSRCDIR}/${TARGET}/conf > >> KRNLOBJDIR= ${OBJTREE}${KRNLSRCDIR} > >> +KERNCONFDIR?= ${KRNLCONFDIR} > I asked only if is possible to back-port to 4.x STABLE tree... > The whole Makefile.inc1 is very different, but this functionality > can be obtained with only 3 lines of changes. I've been using the above for months in -stable, as well as the native -current functionality, to build kernels with read-only /usr/src and no config file within (instead off in /usr/local somewhere), and it's worked great. I've had to reapply the above patch anytime the -stable Makefile.inc1 changes, so I second the request that 4.x get the above patch MFC applied to bring its ability to that of -current for alternative kernel config file locations, and I can't see that it would cause any problems (I've never experienced any) barry bouwsma To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message