2011/8/23 loody <miloody@xxxxxxxxx>: > 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@xxxxxxxxx>: >> 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, >> Hi It seems you forgot to edit the Makefiles. Take a look at Documentation/kbuild/makefiles.txt for a detailed explanation. Section 3 is probably the most interesting. regards, Mirco _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies