Date: Wed, 15 May 2002 19:43:22 +0300 From: Ruslan Ermilov <ru@FreeBSD.org> To: "David O'Brien" <obrien@FreeBSD.org>, John Baldwin <jhb@FreeBSD.org>, Bruce Evans <bde@zeta.org.au>, current@FreeBSD.org Subject: Re: make includes Message-ID: <20020515164322.GA70702@sunbay.com> In-Reply-To: <20020515092629.C81859@dragon.nuxi.com> References: <20020515161610.U7103-100000@gamplex.bde.org> <XFMail.20020515083728.jhb@FreeBSD.org> <20020515092629.C81859@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 15, 2002 at 09:26:29AM -0700, David O'Brien wrote: > Almost correct. For the record and future ports: >=20 > > It's useful for a new arch that doesn't have make world yet. When I wo= uld > > update world on my sparc before gcc was bmake'd it went something like = this: >=20 > sudo make hierarchy >=20 > > > sudo make includes > > > sudo make libraries > > > make obj && make depend && make > > > sudo make install > >=20 > > To build and install a new world. >=20 With this simple patch, %%% --- Makefile.inc1~ Wed May 15 19:35:00 2002 +++ Makefile.inc1 Wed May 15 19:38:02 2002 @@ -330,6 +330,12 @@ .endif WMAKE_TGTS+=3D _includes _libraries _depend everything =20 +.for __target in ${WMAKE_TGTS} +.if defined(NO${__target}) +WMAKE_TGTS:=3D ${WMAKE_TGTS:N${__target}} +.endif +.endfor + buildworld: ${WMAKE_TGTS} .ORDER: ${WMAKE_TGTS} =20 %%% one can easily ``make buildworld TARGET_ARCH=3Dfoo -DNO_cross-tools''. See the ``make -f Makefile.inc1 -V WMAKE_TGTS -DNO_cross-tools'' output for details. (Yet one simple patch might be required to exclude gnu/usr.bin/cc/cc_tools from the list of build-tools.) Please let me know if you want me to commit this, or something like that. 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 --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE84pAqUkv4P6juNwoRAsStAJ4t8ETt1fVO9CNykcpLOgmNTlbbLwCdHEeC eZDzlrRJhPUFwlTz8ZXGBH4= =yfAy -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq-- 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?20020515164322.GA70702>