[TOY/PATCH] Phat-config 1.1

Nicholas J. Leon (nicholas@binary9.net)
Thu, 11 Feb 1999 18:03:38 -0500 (EST)


<more boredom>
Okay, I modified my patch just a little to support making a phat-module
system.

Here's the highlights:

* to make the phattest module based system
~linux> rm .config
~linux> touch .config
~linux> make phatconfig

* to make the phattest non-module based system
~linux> echo 'CONFIG_MODULES=n' > .config
~linux> make phatconfig

* to exclude specific things from your build
~linux> rm .config
~linux> echo 'CONFIG_FOO=n' >> .config
~linux> ....
~linux> make phatconfig

* to include specific things in your build
~linux> rm .config
~linux> echo 'CONFIG_M586=y' >> .config
~linux> ...
~linux> make phatconfig

I think you get the idea. When running phatconfig, anything that exists in
.config will be set as listed. Everything else will be built-in or
compiled as a module (depending on the setting of CONFIG_MODULES).

The mininum set of excludes that I found would compile is

~linux> cat .config
CONFIG_M386=y
CONFIG_MODULES=y
CONFIG_MODVERSIONS=n
CONFIG_SOUND=n
CONFIG_FB=n
CONFIG_VIDEO_DEV=n
CONFIG_HFMODEM=n
CONFIG_ISDN=n
CONFIG_SDLA=n

Unfortunately it wouldn't boot, but hung on calibrating the delay loop :)
But at least it compiled.

To save space, you can download the patch for 2.2.1 from

http://mrnick.binary9.net/phat-patch-1.1
</boredom>

G'day!
-- n i c h o l a s j l e o n
elegance through simplicity*http://mrnick.binary9.net*nicholas@binary9.net
good fortune through truth*roaming:njllm@email.msn.com*ICQ#2170994*U+($++)
TRA#6805*not all questions have answers*pseudogeek:P+++($++)L+($++)W=lm@b9
trust no-one with an iq under 150*understand yourself before trying others

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/