Date: Fri, 1 Apr 2005 13:43:56 -0500 From: John Baldwin <jhb@FreeBSD.org> To: freebsd-arch@FreeBSD.org Cc: arch@FreeBSD.org Subject: Re: small change to config Message-ID: <200504011343.56385.jhb@FreeBSD.org> In-Reply-To: <20050331.225633.125544617.imp@bsdimp.com> References: <20050331.225633.125544617.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 01 April 2005 12:56 am, M. Warner Losh wrote: > I'd like to make a small change to config, and use that change to > improve the pc98 port. > > Right now, the machine line in config looks like: > > machine pc98 > > This causes compile/FOO/machine to be linked to pc98/include. We have > similar logic for modules. > > NetBSD's machine line, on some architecutres, has two arguments, which > correspond to $MACHINE and $MACHINE_ARCH respectively. I'd like to > pull this concept into FreeBSD. The only machine that this impacts is > pc98. pc98 config files would change to: > > machine pc98 i386 > > config creates the machine link, as now. In addition, a link is made > from i386 to sys/i386/include. This allows the majority of the .h > files that are shared amoung ports that have the same CPU to live in > one place, and the machine/foo.h files with minor tweaks. > > I'd like to move to this model on FreeBSD, and use it to reduce the > number of #ifdef PC98 in the tree, while allowing a cleaner separation > of pc98 from i386. This should reduce the maintanence impact of > having pc98 in the tree, as well as being cleaner. Sounds ok to me. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504011343.56385.jhb>