How to compile only the modules?
Hello, after searching I din't find any info, sorry if I double post.
I want to read some sram cards so I changed my options in my custom kernel (latest 2.6.25.7) to support mtd. Either the support for my device is absent, either I compile with wrong options. Enough the irrelevant background. I want to compile ONLY the mtd modules, not the entire modules and kernel (bzImage). I do: cp myconfig .config make oldconfig make prepare make drivers/mtd (ALL ok, I have several .o files) make modules_install fails: "modules.order is missing" How can I install the mtd drivers; Manually cp and after that depmod -a ? Also, my modules are .o files. The standard procedure (make bzImage; make modules) produces .ko files. .o = .ko ? |
I usually do a make modules and then make modules_install. The former will only build absent or outdated modules. I am not sure how to get just ATM modules, although I think I've built and copied specific ones over manually through trial and error I wouldn't recommend that approach.
|
All times are GMT -5. The time now is 08:27 PM. |