Messages in this thread | | | From | Keith Owens <> | Subject | Re: [kbuild-devel] Converting the 2.5 kernel to kbuild 2.5 | Date | Wed, 05 Dec 2001 10:21:37 +1100 |
| |
On Wed, 5 Dec 2001 00:05:53 +0100, David Weinehall <tao@acc.umu.se> wrote: >Would it be easy to add hooks for make-rpm and make-kpkg and alike, >as methods for make installable?
I don't want details for any packaging method in kbuild. kbuild's job is to build and install the kernel, not wrap it up in a pretty package for distribution, I have to draw the line somewhere. In particular I am not going to support 3-5 different packaging methods in kbuild, nor am I going to worry about changes in the packaging process, it is SEP.
Having said that, kbuild is extensible. Users can specify additional targets, dependencies and rules on the command line, those become part of the build process. So redhat, debian, slackware, new distribution on the block can supply a packaging script and run this command :-
make ADD0=pkg ADD0_DEP=install ADD0_CMD='my-package-script' pkg
The packaging script is maintained by the package supplier, not by the kbuild group.
BTW, that example is straight out of the kbuild 2.5 documentation in Documentation/kbuild/kbuild-2.5.txt, I wish people would read that file first.
- 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/
| |