Docunext


Debian kernel distcc and ccache notes

October 11th, 2007

Compiling a kernel takes awhile, so I use distcc and ccache on debian.

DISTCC_HOSTS="localhost dev-2" CONCURRENCY_LEVEL=4 \

MAKEFLAGS="CC=distcc" make-kpkg --revision=1 --bzimage --initrd \

kernel_image

Or:

export DISTCC_HOSTS='localhost dev-2 192.168.0.34'

make -j12 CC=distcc

Even menuconfig works:

HOSTCC="ccache" make menuconfig

Thanks:

1

2

¥

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022