Date: Mon, 30 Jun 2003 20:26:17 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: Tim Kientzle <kientzle@acm.org> Cc: current@freebsd.org Subject: Re: rescue/ broke cross compiles Message-ID: <20030701032617.GA983@athlon.pn.xcllnt.net> In-Reply-To: <3F00FB8A.10607@acm.org> References: <20030630222353.GH57432@sunbay.com> <20030630222820.GV70590@roark.gnf.org> <20030630225206.GA57854@ns1.xcllnt.net> <20030630235402.GC70590@roark.gnf.org> <20030701003516.GA3516@dhcp01.pn.xcllnt.net> <3F00FB8A.10607@acm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 30, 2003 at 08:10:02PM -0700, Tim Kientzle wrote: > > Looking through the build tools for /bin/sh, it's definitely > not worth the effort to try copying build tools around. > Although it sounds easy to add a build-tools target to > handle this, I'm not sure I see exactly how to do this. > Any suggestions? Add a build-tools target to the Makefile in rescue and have it recurse to the tools that have a build-tools target. Of course rescue needs to be added to Makefile.inc > For the longer term, perhaps it would be desirable to > simply eliminate as many of the build-tools as possible? Elimination can be good as a way to remove gratuitous complexity, but gratuitous elimination as a way to remove complexity is probably not the way to go. > For example, the attached is a pretty close substitute for > mkinit.c in the /bin/sh build. It's crude, but it seems to work > and eliminates the need to compile mkinit at build time. In general I think that the more portable the build tool, the better. If the shell script is not gross or overly ugly compared to the C program, then replacing the latter may not be a bad idea. I leave this for other to decide, unless there's only 1 build tool we need to handle for rescue and we can solve our problem by using the shell script instead of adding make logic. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030701032617.GA983>