Re: small change to config

From: John Baldwin (jhb_at_FreeBSD.org)
Date: 04/01/05

  • Next message: Alex Burke: "Re: Adding bsdiff to the base system"
    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"
    

  • Next message: Alex Burke: "Re: Adding bsdiff to the base system"

    Relevant Pages

    • Problem with IPFilter/IPNAT
      ... I am using IPFilter and IPNat on several FreeBSD boxes. ... The LAN machines use the FreeBSD as the ... I run cache-only config. ... rl1 is external interface. ...
      (freebsd-questions)
    • Re: Filesystem support on DVD-RAMs
      ... This GDB was configured as "i386-undermydesk-freebsd"... ... OS: FreeBSD 5.1-RELEASE-p13 i386 ... cd0: cd present ... Kernel config ...
      (freebsd-current)
    • different behaviour between 4.x and 5.x (ping response/disk io)
      ... FreeBSD 4.11 and an elder version of the Knoppix CD. ... the em0 i was able to get a "stable" ping response time which looks like ... around 0.2ms and then there are some really long response times above ... config> di pcic0 ...
      (freebsd-questions)
    • Re: Celeron
      ... > packaged with Linux are the same third party tools ... but I don't know of many instances where FreeBSD ... FreeBSD doesn't do GUI config. ... thingy is more trouble then it is worth because most servers don't ...
      (freebsd-questions)
    • Wireless Keyboard/Mouse setup
      ... this is the "Microsoft Wireless Optical Desktop". ... I am running FreeBSD 5.3 RELEASE-p3 and Xorg 6.8.2. ... If you have this working, I'd be grateful for a mouse config section, ...
      (freebsd-questions)