how to compile additional module?

loody miloody at gmail.com
Tue Aug 23 07:06:53 EDT 2011


hi all:
I found if kernel want to build usb modules it will show below:there is
make -f scripts/Makefile.build obj=drivers/usb

if I have a folder in drivers/miloodytest
how could I generate
make -f scripts/Makefile.build obj=drivers/miloodytest

BR,

2011/8/23 loody <miloody at gmail.com>:
> Dear all:
> I make a module under kernel tree and adding Kconfig for that.
> But I have no idea where I should add that when I type "make modules",
> the modules I add will be compiled.
> Would anyone tell me where the modules list located?
>
>
> --
> Regards,
>



-- 
Regards,



More information about the Kernelnewbies mailing list