Date: Sat, 7 Sep 2002 01:04:54 -0700 From: Juli Mallett <jmallett@FreeBSD.org> To: Peter Wemm <peter@wemm.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf options.i386 options.pc98 src/sys/i386/conf NOTES src/sys/i386/i386 initcpu.c machdep.c src/sys/i386/isa npx.c src/sys/i386/linux linux_ptrace.c src/sys/pc98/i386 machdep.c Message-ID: <20020907010454.A63704@FreeBSD.org> In-Reply-To: <20020907072825.A50E92A7D6@canning.wemm.org>; from peter@wemm.org on Sat, Sep 07, 2002 at 12:28:25AM -0700 References: <200209070702.g8772CM0025706@freefall.freebsd.org> <20020907072825.A50E92A7D6@canning.wemm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* De: Peter Wemm <peter@wemm.org> [ Data: 2002-09-07 ] [ Subjecte: Re: cvs commit: src/sys/conf options.i386 options.pc98 src/sys/i386/conf NOTES src/sys/i386/i386 initcpu.c machdep.c src/sys/i386/isa npx.c src/sys/i386/linux linux_ptrace.c src/sys/pc98/ > I've been trying to figure out the right syntax for negative options. > > I'd have rathered have a common definitions file that had a list of default > options and then disable them in per-system configurations. eg: instead > of > options CPU_DISABLE_SSE > have something like this instead: > disable CPU_ENABLE_SSE > options -CPU_ENABLE_SSE > noopt CPU_DISABLE_SSE > -option CPU_DISABLE_SSE > or something. I just cannot quite think of something I like. > enable/disable might make sense if we had an 'enable' keyword. > eg: "enable ACPI_DEBUG" instead of "options ACPI_DEBUG" etc. OSF (and BSD Lites) used to allow the config to be done in the style of 'options FOO+BAR-baz' and such, so it seems to me that the -CPU_ENABLE_SSE way would fit in best with the few config(8) type systems that implemented this. -- Juli Mallett <jmallett@FreeBSD.org> | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020907010454.A63704>