Creating linux-headers-xxx package for building external modules

From: Greg Heinrich
Date: Sun Dec 05 2010 - 13:21:57 EST


Hello,
apologies if this has been asked before but I couldn't find the answer
in the archives.

I would like to know if there is an easy way to create a
linux-headers-xxx package out of my own kernel tree? What I'm looking
for is something similar to e.g. the Debian package
linux-headers-2.6.32-5-r4k-ip22. This does not have to be a Debian
package by the way, a simple tgz would do.

The reason I want to create that kind of package is I need to be able
to share my kernel configuration and headers so that a colleague would
then be able to build external kernel modules for my kernel image.

I tried "make headers_install_all" but it does not export the Kernel
config and Module.symvers, ...

Note that in case it makes any difference, I am working on the ARM
architecture, and I want to support CONFIG_MODVERSIONS=y.

I thank you in advance,

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