Re: How to manage build process under autotools for kernel module
- From: john.calcote@xxxxxxxxx
- Date: 19 Sep 2006 10:24:53 -0700
Jiri,
Thank you. I've read the kernel-HOWTO for the 2.6 kernel, and have
already picked up this useful bit of information. The problem is not
building - it's packaging.
How do I structure the release of my project so it contains the proper
build sequence for people downloading my package in either src-rpm
format, or simple tar.gz format. Where do I put the kernel-specific
source files, and how do I tie this simple Makefile you suggested into
my project's autotools build system. For instance, should I add a
subdirectory called linux-kernel beneath my libxdas directory like
this:
openxdas/
Makefile.am (root-level)
libxdas/
Makefile.am (calls linux-kernel/Makefile)
src/
include/
linux-kernel/
Makefile
...other kernel-specific sources...
Furthermore, should this kernel module be a specific target, or should
it be tied into "all" for autotools - if so, what should be done about
Solaris, or other Unix platforms that support autotools, but don't run
on the linux-kernel. I'm guessing that such a tie-in with the "all"
target would be platform-specific for linux, right?
This is why I asked for other project references - there must be some
project out there that has both user-space and kernel-space components.
A Google search for such projects lacks the proper meta-data keywords -
who looks for projects based on whether they contain components in both
kernel and user space?! :)
Thanks,
John
.
- References:
- How to manage build process under autotools for kernel module
- From: john . calcote
- Re: How to manage build process under autotools for kernel module
- From: Jiri Kosina
- How to manage build process under autotools for kernel module
- Prev by Date: Re: How to manage build process under autotools for kernel module
- Next by Date: Re: what to do on linux?
- Previous by thread: Re: How to manage build process under autotools for kernel module
- Next by thread: how to trace the access sequence in block-level
- Index(es):