Hi,
I have created some kernel packages with make-kpkg and now I want to build
the alsa- and pcmcia-modules for these kernels. For example I have two
different kernel packages:
kernel-image-2.2.17-mamba
- This is a standard kernel with no additional patches
kernel-image-2.2.17-adder
- This is a kernel with a lot of additional patches
I have created these two packages with
make-kpkg --bzImage --flavour mamba --revsion 2.2.17-1 buildpackage
and
make-kpkg --bzImage --flavour adder --revsion 2.2.17-1 buildpackage
First question: If I compile the alsa- and pcmcia-modules for the
adder-package, are the compiled alsa- and pcmcia-modules working with the
mamba-kernel-image, too? Or have I to compile two different alsa- and
pcmcia-module-packages for each kernel package?
Second problem: The kernel-image does install its modules in
/lib/modules/2.2.17. But if I compile the additional modules (alsa and
pcmcia) with this command:
make-kpkg --flavour mamba --revision 2.2.17-1 modules
the alsa- and pcmcia packages are installing their modules to
/lib/modules/2.2.17-adder or /lib/modules/2.2.17-mamba. In that way I have no
chance to create alsa- and pcmcia-packages for different kernel packages with
the same kernel version. Is it correct that I don't need to specify the
--flavour option when compiling the modules? And are these module packages
compatible with all kernel 2.2.17 packages?
--
Bye
K