Building multiple .ko files from a single module

Moritz Fischer moritz.fischer at ettus.com
Tue Apr 9 08:43:15 EDT 2013


Hi Sankar,

On Tue, Apr 9, 2013 at 4:33 AM, Sankar P <sankar.curiosity at gmail.com> wrote:

> For example, consider the following association between source files
> and the .ko files.
>
> a.c a.h common.c common.h => 1.ko
> b.c b.h common.c common.h => 2.ko

I'm not entirely sure if I got your question correct but you might
want to have a look at
the file Linux/drivers/net/wireless/iwlwifi/Makefile for reference.

Happy hacking,

Moritz



More information about the Kernelnewbies mailing list