On Fri, May 27, 2005 at 02:44:28PM -0400, Paul Smith wrote: > Hi all; > > Well, I went through the thread earlier this month about this subject, > because I have EXACTLY the same issue with make-kpkg, and I was > disappointed in the outcome (which, as far as I could tell, just > wandered off into the weeds). I'd like to restate it and see if we can > close it out: > > What do I need to do to use make-kpkg to build my kernel packages, but > avoid having to run "make-kpkg clean" between every build? I'm > upgrading to a 2.6 kernel and I'm tweaking and poking at my config. > Running a build after a clean takes too long. Even with ccache. Add 'do_clean := NO' to /etc/kernel-pkg.conf. As far as using ccache, you are able to specify your C compiler on the command line. From the make-kpkg(1) man page: You may control which version of gcc used in kernel compilation by setting the Makefile variables CC and HOSTCC in the top level kernel Makefile. You can do this simply by % MAKEFLAGS="CC=gcc-2.95" make-kpkg ... (please see the top level kernel Makefile for variables that can be set). -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~sanchezr
Attachment:
pgpc_IoTjlpuk.pgp
Description: PGP signature