Re: [2.6 current BK] Unnecesary code gets compiled in during build?

From: Randy.Dunlap
Date: Fri Feb 18 2005 - 15:07:01 EST


Maciej Soltysiak wrote:
Hi,

I am compiling 2.6.11-rc4-cset

And I see during the compilation:
LD drivers/media/common/built-in.o
LD drivers/media/dvb/b2c2/built-in.o
LD drivers/media/dvb/bt8xx/built-in.o
LD drivers/media/dvb/cinergyT2/built-in.o
LD drivers/media/dvb/dibusb/built-in.o
LD drivers/media/dvb/dvb-core/built-in.o
LD drivers/media/dvb/frontends/built-in.o
LD drivers/media/dvb/ttpci/built-in.o
LD drivers/media/dvb/ttusb-budget/built-in.o
LD drivers/media/dvb/ttusb-dec/built-in.o
LD drivers/media/dvb/built-in.o
LD drivers/media/radio/built-in.o
LD drivers/media/video/built-in.o

Although I know I have not added dvb, nor radio.
How come this shows up?

It makes the kbuild system easier ?

It's probably fixable (I haven't looked), but I have
noticed the same thing that you are seeing.
Patches are welcome... if it needs to be fixed.

Did you notice how large those built-in.o files are?

I am attaching my .config, it does not have DVB set.

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