Date: Wed, 26 Jun 2002 20:02:00 +0200 (CEST) From: BOUWSMA Beery <freebsd-misuser@netscum.dyndns.dk> To: Riccardo Torrini <riccardo@torrini.org> Cc: freebsd-current@freebsd.org Subject: Re: custom kernel Message-ID: <200206261802.g5QI208l048494@netscum.dyndns.dk> References: <20020625122532.A3315@dragon.nuxi.com> <XFMail.20020625233650.riccardo@torrini.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> >> # 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206261802.g5QI208l048494>