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.

你可能感兴趣的:(config)