I previously downloaded the
kernel tree source code when I finally understood what you were hinting at (have done it on a couple of systems, but let us just assume I am using my
kernel-3.2.15-pclos1 system. Here I then go looking for
ngene and find below, which to me looked like it would be possible to run a
make.
I copied these files to a new directory
/btest (which I also had done with the simple exercise in the link previously posted)
/usr/src/linux-3.2.15-pclos1/drivers/media/dvb/ngene/Kconfig
/usr/src/linux-3.2.15-pclos1/drivers/media/dvb/ngene/Makefile
/usr/src/linux-3.2.15-pclos1/drivers/media/dvb/ngene/ngene-cards.c
/usr/src/linux-3.2.15-pclos1/drivers/media/dvb/ngene/ngene-core.c
/usr/src/linux-3.2.15-pclos1/drivers/media/dvb/ngene/ngene-dvb.c
/usr/src/linux-3.2.15-pclos1/drivers/media/dvb/ngene/ngene-i2c.c
/usr/src/linux-3.2.15-pclos1/drivers/media/dvb/ngene/ngene.h
[root@KDE-mini-kernel3x gert]#
My intention was to prove that the
ngene.ko I made would be
the same as the one already in the kernel I am using. This was to give me confidence that I might have understood correctly how to make a loadable
ngene driver module from the driver source code existing in pclinuxos ( and not external code which may or may not have worked).
I am assuming that
ngene is a loadable module, ie not built into the kernel, since I have to
modprobe to get it installed. I have better ask am I right on this point? ie
ngene is
not in the kernel (lost my confidence)

(If ngene was in the kernel I would have expected
lsmod |grep negene to show some lines after a reboot?)
------
By searching the term
CONFIG_DVB_NGENE and looking in the Kconfig for
ngene a few more bricks fell into place. Now I believe I understand what you meant by saying
You need to recompile the whole kernel ...
The existing
Makefile is simply not suitable for my intention.
The
ngene module is built as part of a kernel build. So if I want to do a separate
ngene build my system now having a full kernel tree will have all the required files
but I will have to figure out how to construct a
Makefile to serve this situation? ZZZzzz......