public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Makefile for external modules
@ 2001-11-14  8:17 Peter J. Braam
  2001-11-14 21:50 ` Jari Ruusu
  0 siblings, 1 reply; 2+ messages in thread
From: Peter J. Braam @ 2001-11-14  8:17 UTC (permalink / raw)
  To: linux-kernel

Hi, 

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? 

Thanks!

- Peter -



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Makefile for external modules
  2001-11-14  8:17 Makefile for external modules Peter J. Braam
@ 2001-11-14 21:50 ` Jari Ruusu
  0 siblings, 0 replies; 2+ messages in thread
From: Jari Ruusu @ 2001-11-14 21:50 UTC (permalink / raw)
  To: Peter J. Braam; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-14 21:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-14  8:17 Makefile for external modules Peter J. Braam
2001-11-14 21:50 ` Jari Ruusu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox