Date: Tue, 29 Apr 2003 09:13:43 +0300 From: Ruslan Ermilov <ru@freebsd.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: marcel@xcllnt.net Subject: Re: New ACPI diffs ready for testing Message-ID: <20030429061343.GA76067@sunbay.com> In-Reply-To: <20030428.212444.60845673.imp@bsdimp.com> References: <20030426022551.GB29244@athlon.pn.xcllnt.net> <XFMail.20030428164935.jhb@FreeBSD.org> <20030428214221.GA1152@athlon.pn.xcllnt.net> <20030428.212444.60845673.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 28, 2003 at 09:24:44PM -0600, M. Warner Losh wrote: > In message: <20030428214221.GA1152@athlon.pn.xcllnt.net> > Marcel Moolenaar <marcel@xcllnt.net> writes: > : On Mon, Apr 28, 2003 at 04:49:35PM -0400, John Baldwin wrote: > : >=20 > : > On 26-Apr-2003 Marcel Moolenaar wrote: > : > > The best way to cross-build is by starting a cross-world, which you > : > > then abort after the headers are installed in the object tree. This > : > > should leave a usable set of cross-tools you can use for buildkerne= l. > : >=20 > : > It would be nice if there was a 'buildtools' target that did just > : > enough to allow one to do a buildkernel. Maybe 'buildkerneltools' > : > and 'buildworldtools' targets where the latter let you cross-build > : > individual libraries or binaries > :=20 > : Agreed. In multiple cases I just wanted to populate the object tree > : and I was forced to start a buildworld. I don't think you need the > : headers in the object tree for a kernel build though. > :=20 > : BTW: If we add these targets, we may want to make sure that targets > : like "everything" actually use those bits. I noticed that a make > : everything does not do a cross-build. It may be pilot error. I can't > : recall. The point is that if you allow people to setup the object > : tree for cross-building, people will start to use targets that do > : partial builds (ie skip the part of populating the object tree) and > : expect those targets to actually do the cross-build. The build > : system will grow even more weirdness if we don't do that... >=20 > For 'complicated' builds like this, I typically just do a make > buildworld -DNOCLEAN... 'make everything' traditionally has used host > tools... Since this builds < 30 minutes for me, I've not been too > motivated to fix things. >=20 `make everything' traditionally runs in the cross environment, if it has been made available by running cross-tools: everything: @echo @echo "------------------------------------------------------------= --" @echo ">>> stage 4: building everything.." @echo "------------------------------------------------------------= --" cd ${.CURDIR}; ${WMAKE} par-all ^^^^^ In fact, it's exactly what corresponds to the "all" stage of buildworld. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+rhgXUkv4P6juNwoRAgyOAJ4ov0fGctCasE1OJJxjy29xVEjXuACghch4 B8V76gHQmhd1PpRadIJQTqk= =lQIe -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030429061343.GA76067>