[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

module makefile install target



I'm working on a module makefile and need to create an install target.
The problem is that I can't just set INSTALL_MOD_DIR and call the
kernel makefile.  The reason for this is that the kernel sources
aren't on the machine I'm on (we have a central build server that does
the build and has the sources for GPL contamination issues).  Anyway,
I have the makefile just calling /usr/bin/install -C -m 644 to put the
module in kernel/drivers/x/y.ko. The question I have is that after
installing the module there, modprobe -l doesn't find the module even
though its def there.  Am I not updating something correctly?  I'm
sure this would get taken care of by the kernel Makefile, but I just
can't use it.

Thanks,
Jared

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/