Re: Really stupid question, but...

Andreas Bombe (andreas.bombe@munich.netsurf.de)
Sat, 12 Jun 1999 01:47:38 +0200


On Fri, Jun 11, 1999 at 01:22:45PM +0900, Srdjan Sobajic wrote:
> Hi,
>
> this is a really stupid question, but I couldn't find an
> answer anywhere... If I have modules enabled in my kernel,
> and have already done make zImage and make modules, but then
> I decide that I want just one more module, how can I build it?
> I have the feeling that I can edit .config manually, and then
> run make dep, but what do i do after that?
> If I try make -C some_directory modules, that doesn't work.
> Is there some trivial way to do this, or do I just have to modify
> the makefile for my module and build it totally independently?

Always use the Makefile in the top directory. Just do

make modules SUBDIRS=drivers/ieee1394

or whatever subdir you need.

-- 
    Andreas E. Bombe <andreas.bombe@munich.netsurf.de>
    http://home.pages.de/~andreas.bombe/
RSA 0x886663c9  30 EC 09 73 84 7B 55 83  C4 7A 91 D9 9D C5 4B B0
DSA 0x04880A44 72E5 7031 4414 2EB6 F6B4  4CBD 1181 7032 0488 0A44

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/