When we build linux kernel, we have to configure via menuconfig, gconfig or xconfig first. “make menuconfig” generate some auto header files(include/linux/autoconf.h, include/config/auto.conf, include/config/autoconf.cmd … etc). In my developing environment, we have pre-configure file and copy this pre-configure to Linux kernel source directory. Unfortunate, we also have old auto header files and they are not updated. Once I compile kernel modules before I update auto header files, the outcome is incorrect. In this case, we issue “make oldconfig” once before we compile kernel modules.
FYI:
linuxtopia:Chapter 7. Upgrading a kernel: http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/ch07s03.html
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment