[lkml]   [2001]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Makefile for external modules
"Peter J. Braam" wrote:
> Rumor has it that there is now a simple way to build modules outside
> the kernel tree. I'm told that you place a kernel style makefile in
> your directory and do:
> make -C /usr/src/linux MOD_SUB_DIRS=/my/module/dir modules
> It almost works, but loops. What is wrong?

cd /usr/src/linux && make SUBDIRS=/my/module/dir modules

Take a look at loop-AES makefile:

Jari Ruusu <>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:18    [W:0.036 / U:1.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site