What Is the Difference Between "Make Modules" and "Make Modules_Install"

What Is the Difference Between "Make Modules" and "Make Modules_Install"

I'm currently looking up compiling a custom kernel and I find various guides that first say make modules and then make modules_install in the step when you compile and install the modules while other just do make modules_install.

Could someone enlighten me and explain the difference (I would prefer them explained in newbie language: nothing too detailed, thanks).

2 Answers

The make modules command will just compile the modules, leaving the compiled binaries in the build directory. make modules_install will make sure that there are compiled binaries (and compile the modules, if not) and install the binaries into your kernel's modules directory.

If you are sure that all modules compile without problems, you can use make modules_install directly.

2

prior to 2.6, you need make modules, while after 2.6, make will also do make modules

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.