Re: small change to config
From: John Baldwin (jhb_at_FreeBSD.org)
Date: 04/01/05
- Previous message: John Baldwin: "Re: small change to config"
- In reply to: M. Warner Losh: "small change to config"
- Next in thread: Bruce M Simpson: "Re: small change to config"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: freebsd-arch@FreeBSD.org Date: Fri, 1 Apr 2005 13:43:56 -0500
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 _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: John Baldwin: "Re: small change to config"
- In reply to: M. Warner Losh: "small change to config"
- Next in thread: Bruce M Simpson: "Re: small change to config"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|