niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » FreeBSD » mail-lists » Configuration
"Next Generation" kernel configuration?
Post new topic   Reply to topic Page 2 of 2 [18 Posts] View previous topic :: View next topic
Goto page:  Previous  1, 2
Author Message
M. Warner Losh
*nix forums Guru


Joined: 22 Mar 2002
Posts: 365

PostPosted: Sat Jul 24, 2004 10:01 pm    Post subject: Re: "Next Generation" kernel configuration? Reply with quote

In message: <4101DC69.9030309@anobject.com>
Jake Hamby <jhamby@anobject.com> writes:
: Conrad J. Sabatier wrote:
: > On 21-Jul-2004 Devon H. O'Dell wrote:
: >
: >
: >>I'm sure this will become another bikeshed, so I suggest whoever came
: >>up with the idea to put up or shut up. People are interested in
: >>solutions, not suggestions.
: >
: >
: > Agreed. And the original proponent of the idea was me. I just wanted
: > to see if there was any willingness to even consider something like
: > this before I went and did a lot of work for nothing.
: >
: > Seems the general concensus is that most people are OK with the idea,
: > depending on the implementation.
: >
: > I'll be quiet now until/unless I can actually come up with something.
: > Smile
:
: If you are looking to improve the current build process, here's an idea
: someone could implement that would save a lot of people a lot of time...
:
: My biggest annoyance with building the kernel, compared to Linux, is
: that it insists on building all of the possible kernel modules, even
: though I only want to build the ones that make sense for my hardware.
: In Linux, despite the drawbacks of the menu-based config, it is nice
: being able to easily specify Yes, Module, or No for most options.
:
: The least intrusive approach would probably be to add a second config
: file (e.g. "MYKERNEL.modules") which would contain only the names of the
: modules to build in some make-friendly format. You could then modify
: config(Cool to automatically copy this file, if it exists, to the object
: directory where it would be included by the appropriate Makefile. If no
: .modules file exists, then it would continue the current behavior of
: building all possible modules.

What's wrong with adding:

makeoptions MODULES_OVERRIDE="a b c"

to your config file? It is already supported.

Warner

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
Back to top
Allan Fields
*nix forums beginner


Joined: 25 Jul 2004
Posts: 1

PostPosted: Sun Jul 25, 2004 12:29 am    Post subject: Re: "Next Generation" kernel configuration? Reply with quote

On Sat, Jul 24, 2004 at 04:21:10PM -0700, Jake Hamby wrote:
Quote:
M. Warner Losh wrote:

What's wrong with adding:

makeoptions MODULES_OVERRIDE="a b c"
to your config file? It is already supported.

Though, I've used this before to good effect (on slow crash-box):

There's no mention to specify exclusions, only what to include. If
you want only a few things excluded, would you not have to list
everything else in each of the same subdirs?

No biggy, and most systems build kernel/modules very quickly anyway.

Quote:
Nothing, I just didn't know about it! Thanks to all who replied with
the answer...

-Jake

Allan Fields
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
Back to top
M. Warner Losh
*nix forums Guru


Joined: 22 Mar 2002
Posts: 365

PostPosted: Sun Jul 25, 2004 7:02 pm    Post subject: Re: "Next Generation" kernel configuration? Reply with quote

In message: <20040725022913.GA53935@afields.ca>
Allan Fields <bsd@afields.ca> writes:
: On Sat, Jul 24, 2004 at 04:21:10PM -0700, Jake Hamby wrote:
: > M. Warner Losh wrote:
: > >
: > >What's wrong with adding:
: > >
: > >makeoptions MODULES_OVERRIDE="a b c"
: > >to your config file? It is already supported.
:
: Though, I've used this before to good effect (on slow crash-box):
:
: There's no mention to specify exclusions, only what to include. If
: you want only a few things excluded, would you not have to list
: everything else in each of the same subdirs?
:
: No biggy, and most systems build kernel/modules very quickly anyway.

I've found that typically there are a lot more you want to leave out
than you want to leave in.

Warner
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 2 of 2 [18 Posts] Goto page:  Previous  1, 2
View previous topic :: View next topic
The time now is Thu Jan 08, 2009 9:27 am | All times are GMT
navigation Forum index » *nix » BSD » FreeBSD » mail-lists » Configuration
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Sound Configuration problem on clean Sarge install Richard Cookson Debian 0 Fri Jul 21, 2006 2:30 pm
No new posts configuration question for httpd Karl Wang Apache 1 Fri Jul 21, 2006 2:10 pm
No new posts Configuration file shadowed? Manoj Srivastava devel 1 Fri Jul 21, 2006 2:00 am
No new posts Proposal: Allow dict_tcp server to disconnect without cau... Xin LI Postfix 6 Thu Jul 20, 2006 5:21 pm
No new posts Flash device can't find in kernel and redboot Kevin embedded 1 Thu Jul 20, 2006 10:04 am

Homeowner Loans | Credit Cards | Internet Advertising | Credit Card Consolidation | Credit Reports
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2111s ][ Queries: 16 (0.1235s) ][ GZIP on - Debug on ]