Hi,
I have started working on the common kernel-image package, the one which will be capable of building kernel-image for all arches and subarches.
The (not so impressive so far) results are in the svn, in the directory
branches/kernel-image-2.6.11.
Following ideas so far (some may not be implemented yet):
* The build procedure is controlled by a small number of variables, set near the to of debian/rules. So far they are: version, abiname, ktver (version of kernel-tree to depend on) and kbuildver (version of kbuild to depend on). That allows to get rid of all these horrible regexps, extracting needing information from control files.
* Architecture specific files are placed in arch/ subdir, for example, arch/i386, arch/sparc, etc. The following files are expected to be there: - Makefile.inc - included by debian/rules at the end of variable definitions. Allows to override the setting in debian/rules on per-arch basis. - control.in - per-arch control.in - config.common - common kernel config for architecture. - config.<subarch_a>, config.<subarch_b>, etc. - subarch configs.
* debian/control is generated dynamically by cat'ing the common debian/control.in file and architecture specific file, followed by a variable substitution, eliminating the need for editing it with every version or abiname change.
* kernel config for a subarch is generated by cat'ing together common all-arch config file with per-arch config file, and the subarch-specific config file.
I would appreciate any feedback and feature requests/proposals.
Thanks and best regards,
Jurij Smakov [EMAIL PROTECTED] Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]