cvs commit: src/sys/conf options.pc98

M. Warner Losh imp at bsdimp.com
Thu Aug 19 10:35:21 PDT 2004


In message: <20040819171224.GA2469 at dragon.nuxi.com>
            "David O'Brien" <obrien at FreeBSD.org> writes:
: On Wed, Aug 18, 2004 at 04:51:31PM -0400, John Baldwin wrote:
: > On Wednesday 18 August 2004 03:19 pm, David O'Brien wrote:
: > > On Thu, Aug 19, 2004 at 12:57:52AM +0900, Takahashi Yoshihiro wrote:
: > > > In article <200408180346.i7I3kdSj026379 at repoman.freebsd.org>
: > > >
: > > > Robert Watson <rwatson at FreeBSD.org> writes:
: > > > >   Since pc98 shares the AGP driver with the i386, also define the
: > > > >   amd64 agp option here in order to let the pc98 kernel build
: > > > >   complete.  This doesn't seem right, since there probably aren't
: > > > >   plans to build a pc98 amd64 box; however, it's not clear to me
: > > > >   how to get config to generate an opt_agp.h without an option
: > > > >   defined.
: > > >
: > > > I think that using '#ifndef PC98' in agp_sis.c and agp_via.c is better
: > > > way rather than putting unneeded line in options.pc98.
: 
: I'm going to remove the option from agp_via.c and agp_sis.c in 6-CURRENT.
: I only wanted the old behavior in RELENG_5.  Can someone that can build
: pc98 releases make sure that things will be OK on the branch?

I know that David know this, but others ask me so often that I thought
I'd share.  Anybody with a i386 box can build at least the kernel for
pc98:

cd src/sys/pc98/conf
config GENERIC			# or make LINK && config LINT
cd ../compile/GENERIC
make

Since the compilers are identical for pc98 and i386, the above works
really well (and is nice since ibm-at compatible machines have
out-paced their NEC PC9801 compatible brethern since NEC stopped
making the latter).

I've built releases in the past with TARGET=pc98 TARGET_ARCH=i386, but
haven't done so recently enough to recommend it.  I have no idea of
that works or not (but suspect it does becaue the .jp pc98 snapshots
are generated this way).

Warner


More information about the cvs-all mailing list