如何编译单个的内核代码文件,而不用重建整个内核?
现在要修改一个内核源代码文件(ipc/shm.c),想检查修改后(语法)是否正确.如何编译他?直接编译的话,出一大堆的错误,大多都是头文件找不到和变量未定义.难道我要改一个文件就要重新编译一下内核?请大家帮忙知道一下
谢谢先 kernel will autodetect the changed files and do a quick compilation. if u do make before. then do make directly, can not do make clean here though.
页:
[1]