[情报] make-kpkg 时不 make clean

楼主: scott260202 (Cake)   2010-07-25 00:09:44
在 Debian-based Linux 上使用 make-kpkg compile 时,在每次执行 make-kpkg 指令,
都会自动 make clean 将之前 compile 的部份清除掉重新编译,要防止 make-kpkg 这样
作,可参考以下作法:
http://linux.derkeiler.com/Mailing-Lists/Debian/2005-05/3189.html
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).

Links booklink

Contact Us: admin [ a t ] ucptt.com