Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2015 14:15:21 -0800
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, Slawa Olhovchenkov <slw@zxy.spb.ru>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, Warner Losh <imp@freebsd.org>, Warner Losh <imp@bsdimp.com>
Subject:   Re: svn commit: r277204 - head/sys/amd64/conf
Message-ID:  <20150121221520.GY1949@funkthat.com>
In-Reply-To: <CAJ-Vmon1upJhjuAY8U8y376cxcqDwaVEu%2BBeOTDX5pp4TDsD1A@mail.gmail.com>
References:  <201501150042.t0F0g7Um018059@svn.freebsd.org> <20150115132303.GA245@zxy.spb.ru> <368B22F3-5607-46F8-B8D2-13CA59E94861@bsdimp.com> <CAJ-Vmon1upJhjuAY8U8y376cxcqDwaVEu%2BBeOTDX5pp4TDsD1A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Adrian Chadd wrote this message on Fri, Jan 16, 2015 at 10:43 -0800:
> When I've done what you're doing, I end up having these options in my
> minimal config file so opt_xxx.h is correctly populated. That way when
> I point SYSDIR (or whichever variable it is) at the configured kernel
> directory with the opt_xxx.h files, it all works out correctly.
> 
> (I still think we shouldn't be relying on "defaults", but should ship
> the opt_xxx.h files or something to derive the opt_xxx.h and makefile
> config bits so things like external module building is possible
> against a kernel. Or, we just kill all module options that change
> behaviour/ABI of things in an incompatible way.)

I have the commands that are able to stash the opt files in a kernel
section, and then be able to extract them again so that when you build
a kernel module it will use the correct options to match the kernel..

This is most useful for things like PAE which have a big impact...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150121221520.GY1949>