最終更新:2017-06-16 (金) 15:41:14 (7d)  

make modules_prepare はてなブックマークを見る
Top / make modules_prepare

Create the files required for compiling external modules.

Linux/カーネルモジュールのコンパイルに必要なファイルのみを吐き出す

make modules_prepare
make M=fs/cifs #make M={モジュールのパス}

メモ

  • Therefore a full kernel build will have to have been executed previously to make module versioning work. For more details, see Sections #2.4 & #7 of /usr/share/doc/kernel-doc-2.6.18/Documentation/kbuild/modules.txt