Re: [TOY/PATCH] Phat Config

Nicholas J. Leon (nicholas@binary9.net)
Thu, 11 Feb 1999 13:05:11 -0500 (EST)


On Thu, 11 Feb 1999, Andrea Arcangeli wrote:

# On Thu, 11 Feb 1999, Nicholas J. Leon wrote:
#
# >(echo 'CONFIG_M386=y'; echo 'CONFIG_MODULES=n'; echo 'CONFIG_SOUND=n') \
# > > .config
# >make phatconfig
# >make clean depend;make bzImage
#
# did you missed make oldconfig ? I have not read in detail your email maybe
# I missed something but if you never heard about oldconfig take a look at
# it.

Oh, I know what make oldconfig is. Use it all the time. This patch differs
in that is defaults to Y for everything it doesn't know about. If you have
no .config and run make oldconfig, you get the defaults from
arch/*/defconfig and then basically "random values"[1] for everything
else. If you do the same with make phatconfig, the random values are
replaced with Y's. You get _everything_ included, but honor the default
values in arch/*/defconfig.

If you have an empty .config, make oldconfig acts like make config; with
phatconfig it says "Y" to every bool/tristate and the default for every
other type of question. This creates the phattest kernel possible (and
also doesn't come close to compiling, at least under i386).

If you have meaningful data in .config (including minimal stuff like

# cat .config
CONFIG_M386=y
CONFIG_SOUND=n

) and run make oldconfig, it stops on everything except that listed;
phatconfig says Y to everything except that which is listed in .config
(this makes it useful to disable the stuff that doesn't compile :)

So, its a bit different. Its to exploit kernel bloat to the max. So far I
haven't been able to get a kernel to compile yet (because of conflicts),
but I'm slowly disabling stuff one-by-one so I'll eventually get there.

[1] Some are on, some are off, lowlevel drivers certainly aren't included.

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/