Linux kernel make config注意点

If you have a new kernel config file, e.g, named dot_config. You wanna use this config file while building kernel. So you copied this file into <kernel src dir>/arch/arm/configs, and:

make dot_config

Kernel will complain: No rule for target "dot_config" found.

Why? Just simple -- all predefined kernel config file must end with "defconfig". So rename file "dot_config" into "dot_defconfig" and try:

make dot_defconfig

This makes kernel happy now.
posted @ 2011-01-03 11:14  super119  阅读(562)  评论(0编辑  收藏  举报