-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 28 Dec 2005 16:09:11 +1030 "Rod Whitby" <[EMAIL PROTECTED]> wrote:
> As requested by fs on #debian-kernel, here is the first post in an > effort to identify and remove duplicate (and sometimes inconsistent) > options from the hierarchy of debian/arch/config, > debian/arch/<arch>/config, and debian/arch/<arch>/config.<flavour> (at > least for the debian/arch/arm/config.ixp4xx tree that concerns my > current project of getting NSLU2 and NAS100D support into the upstream > and debian kernels). When reading the above I didn't think it was related to the issue I found some days ago about the experimental build of 2.6.15-rc5 having M486 ignored and switched to M686 in the -486 package. I was wrong. I have now written and committed a script, split-config-cleanup, to do, well, cleanup: split-config adds missing Kconfig options to either global, arch or subarch file, but does not care about cleaning up duplicates. Also, values are added to the end of the file but only first entry of an option is considered by the kernel build scripts. After healthy discussion with fs and rwhitby the script was made to favor entries in global config over local ones, and favor latest entries over topmost ones within same config file. It took some fighting with shell (and a bit of perl sneaked in as well - sorry, Sven :-) ), but I believe the script is fully functional now - and I have cleaned the trunk and extended README.build to document its use (it supports -h as well). Hope I didn't break anything badly. I am off to bed now - enjoy! - Jonas - -- * Jonas Smedegaard - idealist og Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ - Enden er nær: http://www.shibumi.org/eoti.htm -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDs1Sqn7DbMsAkQLgRAqsUAJ9uaFbhly9pXpVa/eLC5zRg+Y3GwgCfSr9/ qzIHMH3FZby1qFmJQrp7cTE= =yqLO -----END PGP SIGNATURE-----