public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ANN: LKMB (Linux Kernel Module Builder) version 0.1.16
@ 2003-01-17 12:31 Shlomi Fish
  2003-01-17 12:37 ` Shlomi Fish
  2003-01-17 13:12 ` David Woodhouse
  0 siblings, 2 replies; 27+ messages in thread
From: Shlomi Fish @ 2003-01-17 12:31 UTC (permalink / raw)
  To: linux-kernel


LKMB version 0.1.16 is the humble codeware beginning of the CLAN project.
It is essentially a Perl package (proper with Makefile.PL and all, but not
CPANed yet), which enables one to process LKMB packages.

The latter ones are packages that LKMB can create installation and
compilation packages for kernel modules that can run in any enviornment
the Linux kernel can be compiled and installed on. (a GNU environment).

It contains an example module for the Ethernet DMFE module. Currently, the
makefile for the kernel module's package supports only the "all" and
"install" targets.

I will upload it to CPAN soon, but would like to get some initial feedback
beforehand.

Regards,

	Shlomi Fish


----------------------------------------------------------------------
Shlomi Fish        shlomif@vipe.technion.ac.il
Home Page:         http://t2.technion.ac.il/~shlomif/

He who re-invents the wheel, understands much better how a wheel works.


^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: ANN: LKMB (Linux Kernel Module Builder) version 0.1.16
@ 2003-01-19 21:17 Paul Zimmerman
  0 siblings, 0 replies; 27+ messages in thread
From: Paul Zimmerman @ 2003-01-19 21:17 UTC (permalink / raw)
  To: linux-kernel

>> It is also a bug that parts of the development infrastructure are
>> installed in /lib/modules/<version> and it's somewhat documented that
>> compiling modules needs this /lib/modules/<version> stuff. That may be
>> true for the ideal, simplified Red Hat world but in reality the
>> machine and running OS version of the development machine is likely
>> different from the box it will run on. Mixing development environment
>> and install target only causes confusion.
>
> you make a series of good points before this. However
> /lib/modules/<version>/build is nothing Red Hat specific. It's something
> that is the result of a similar discussion long ago where Linus finally
> decreed this location for finding the full source of modules.
> Combine that with the makefile dwmw2 showed and you can compile external
> modules EVERYWHERE on ANY distribution (assuming said distribution
> doesn't go out of the way to break the decree). Afaik RHL, SuSE,
> Mandrake, Debian and Slackware at least have this correct.
>
> Yes it breaks if you move around your source after doing make
> modules_install. Yes it breaks if you don't have the tree at all. But
> both situations are "invalid" wrt the decree, and need a fixed symlink.

Try "make modules INSTALL_MOD_PATH=<whatever>". Then modules
will use <whatever>/lib/modules instead of /lib/modules. This works in 2.4
and early 2.5, I haven't tried it with the new kbuild system in recent 2.5.
And
I don't know if this is properly documented anywhere.

Paul


^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: ANN: LKMB (Linux Kernel Module Builder) version 0.1.16
@ 2003-01-19 21:24 Paul Zimmerman
  0 siblings, 0 replies; 27+ messages in thread
From: Paul Zimmerman @ 2003-01-19 21:24 UTC (permalink / raw)
  To: linux-kernel

> Try "make modules INSTALL_MOD_PATH=<whatever>".

Oops, that should have been:

"make modules_install INSTALL_MOD_PATH=<whatever>"

Paul



^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: ANN: LKMB (Linux Kernel Module Builder) version 0.1.16
@ 2003-01-23  0:20 Hal Duston
  0 siblings, 0 replies; 27+ messages in thread
From: Hal Duston @ 2003-01-23  0:20 UTC (permalink / raw)
  To: linux-kernel

I use "INSTALL_MOD_PATH=put/the/modules/here/instead/of/lib/modules" in my
.profile or whatever in order to drop the modules into another directory
at "make modules_install" time.  Is this one of the things folks are
talking about?

Hal Duston


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

end of thread, other threads:[~2003-01-23  0:14 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-17 12:31 ANN: LKMB (Linux Kernel Module Builder) version 0.1.16 Shlomi Fish
2003-01-17 12:37 ` Shlomi Fish
2003-01-17 13:12 ` David Woodhouse
2003-01-17 17:00   ` Shlomi Fish
2003-01-17 18:00     ` Sam Ravnborg
2003-01-17 18:28       ` Shlomi Fish
2003-01-18 22:37     ` Olaf Titz
2003-01-18 22:55       ` Arjan van de Ven
2003-01-20 20:03         ` Olaf Titz
2003-01-20 21:39           ` Arjan van de Ven
2003-01-21 21:16             ` Olaf Titz
2003-01-21 21:30               ` David Lang
2003-01-21 21:46               ` Sam Ravnborg
2003-01-22 11:21                 ` David Woodhouse
2003-01-22 11:18               ` David Woodhouse
2003-01-22 19:16                 ` Bill Davidsen
2003-01-22 22:17                   ` David Woodhouse
2003-01-19  0:12       ` John Levon
2003-01-19 12:55         ` Olaf Titz
2003-01-19 13:06           ` Arjan van de Ven
2003-01-20 20:16             ` Olaf Titz
2003-01-19 18:22           ` Sam Ravnborg
2003-01-20 20:14             ` Olaf Titz
2003-01-20 20:46               ` Sam Ravnborg
  -- strict thread matches above, loose matches on Subject: below --
2003-01-19 21:17 Paul Zimmerman
2003-01-19 21:24 Paul Zimmerman
2003-01-23  0:20 Hal Duston

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