最終更新:2017-07-06 (木) 16:32:02 (2479d)  

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={モジュールのパス}

メモ

  • モジュールバージョニングを有効にするにはカーネルのフルビルドが必要
  • make modules_prepare will not build Module.symvers even if CONFIG_MODVERSIONS is set. Therefore a full kernel build needs to be executed to make module versioning work.

Makefileの依存関係

関連