|
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 ?
|