简体   繁体   中英

Linux kernel modules.builtin in build directory does not match kernel

I am building a linux kernel in a standard way:

make mrproper
make defconfig
make

At the end of the build, there is a file modules.builtin in the top build directory.

When I boot to the kernel on my board, and inspect /lib/modules//modules.builtin, the modules do not match with the modules.builtin file in my build directory.

Is this expected? Do I need to do

make modules

to get the two modules.builtin files to match?

You miss installation step after the build:

make modules_install # Copy modules into their final location, call 'depmod'
make install # Install kernel core

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM