Re: Can one build 2.5.68 with allyesconfig?

Randy.Dunlap (rddunlap@osdl.org)
Tue, 22 Apr 2003 13:51:39 -0700


On Tue, 22 Apr 2003 16:41:18 -0400 Valdis.Kletnieks@vt.edu wrote:

| On Tue, 22 Apr 2003 16:49:03 EDT, Timothy Miller <miller@techsource.com> said:
| > Is anyone else able to build 2.5.68 with allyesconfig?
| >
| > I'm using RH7.2, so the first thing I did was edit the main Makefile to
| > replace gcc with "gcc3" (3.0.4). Maybe the compiler is STILL my
| >
|
| 1) I think the 3.0.4 compiler had some issues - 3.2.2 may be a better idea.
|
| 2) allyesconfig is probably NOT able to build an actual kernel that will
| work - in particular, there are a number of pairs/sets of drivers that are
| mutually exclusive for a given device. And as you noticed, allyesconfig
| will try to build stuff that's known to be b0rken.
|
| 3) Even if it works, it will be a huge kernel with lots of stuff you almost
| certainly don't need (got an ISDN card? I didn't think so ;). You would more
| likely want to customize the kernel for what you need, or at least consider
| using 'allmodconfig' so you can insmod the parts you need and skip the rest.

After you weed out the 50 or so drivers that won't compile (disable them),
you'll end up with a kernel that is way to big to boot.
I did this about 2 months ago and posted the results to lkml.

But it's a good build-only tool.

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