On Tue, Nov 01, 2005 at 04:30:12PM +0000, Jon Dowland wrote: > On Tue, Nov 01, 2005 at 10:48:34AM -0500, Matt Price wrote: > > Hi, > > > > I'm trying to compile processor-specific kernels for 2 machines, one > > k7 and one pII. the compilation is difficult for some reason, I'm > > having to do it over and over, and I'm running up against an annoying > > feature of make-kpkg. If I try to change the "append-to-version" > > value in the make-kpkg command after running make xconfig (to change > > just a couple of variables), make-kpkg exits with an error ("I thought > > we were building version x, but we seem to be building version x"). > > Anyone know what I can do to fix this error? It complicates and > > vastly prolongs the build process, which tends to lead to additional > > errors with someone like me. > > use ccache (instructions elsewhere, I'm afraid, I can't remember. > possibly appending CC=ccache, or prefixing PATH=/usr/lib/ccache, to > make-kpkg...) and do a make-kpkg clean between builds. This performs a > clean on the source (bad from your POV as that means more building than > necessary) but ccache will counter-act that. It also deletes some stamp > files etc., which are the source of make-kpkg's complaints. >
Speeding up recompilation with ccache: http://www.debian-administration.org/articles/129 -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto
pgpPSWQzXR4Gd.pgp
Description: PGP signature