lkml.org 
[lkml]   [2001]   [Nov]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 14 Nov 2001 23:50:39 +0200
FromJari Ruusu <>
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:
http://loop-aes.sourceforge.net/loop-AES-v1.4g.tar.bz2

Regards,
Jari Ruusu <jari.ruusu@pp.inet.fi>

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

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:28.718 / U:0.030 seconds]
©2003-2008 Jasper Spaans