Date: Sat, 2 Feb 2002 18:20:48 +0100 From: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx> To: "Crist J. Clark" <cristjc@earthlink.net> Cc: freebsd-user@dcf77-zeit.netscum.dyndns.dk, hackers@freebsd.org Subject: Re: buildworld via ro mounted /usr/src Message-ID: <20020202182048.15d1aaaa.corecode@corecode.ath.cx> In-Reply-To: <20020201150332.A956@gohan.cjclark.org> References: <20020130170244.6f1cdf09.corecode@corecode.ath.cx> <200201310920.g0V9K1L00787@beerswilling.netscum.dyndns.dk> <20020131155234.F152@gohan.cjclark.org> <200202012154.g11Lst401366@beerswilling.netscum.dyndns.dk> <20020201150332.A956@gohan.cjclark.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=.u.8(VbJbFUKkkU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 1 Feb 2002 15:03:32 -0800 "Crist J. Clark" <cristjc@earthlink.net> wrote: > > The build procedure should be done as usual -- > > # make (env variables if not given in /etc/make.conf) -j4 buildworld > > # make KERNCONF=FreeBEER KERNCONFDIR=/usr/local/etc/conf -j4 > > buildkernel# make KERNCONF=FreeBEER KERNCONFDIR=/usr/local/etc/conf > > installkernel and so on... > > No, I was confused. I thought we were discussing how to do an "old > fashioned" kernel build in a read-only /usr/src/sys. thanks for your replies ;] actually the main problem was make needing MAKEOBJDIRPREFIX set as env var. perhaps there is a way to specify something like WRKDIRPREFIX (ports') for bsd.obj.mk. after setting MAKEOBJDIRPREFIX to the right path and really cleaning /usr/src i was able to build world + kernel on a readonly /usr/src. though i needed to do env MAKEOBJDIRPREFIX=/usr/obj/i386/k7 make buildworld -j4 .... builds bootstrap tools, somewhere bails out on a rm i think. env MAKEOBJDIRPREFIX=/usr/obj/i386/k7 make buildworld -j4 -DNOCLEAN .... then works as desired. env MAKEOBJDIRPREFIX=/usr/obj/i386/k7 make buildkernel -j4 .... works right out-of-the-box. cheerz corecode -- /"\ http://corecode.ath.cx/ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.u.8(VbJbFUKkkU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) iD8DBQE8XB/yr5S+dk6z85oRAr+7AJwOZfrzK9UYsSY4qHUQBktpQWwVKgCgjSxA AQz38F/SU9UsxBampusUp4w= =TLJf -----END PGP SIGNATURE----- --=.u.8(VbJbFUKkkU-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020202182048.15d1aaaa.corecode>