'make localmodconfig'は何をしますか?

'make localmodconfig'は何をしますか?

外部ハードウェアをサポートするには何をし、make localmodconfig何を設定する必要がありますか?

ベストアンサー1

~からカーネルreadmeファイル:

"make localmodconfig"は、現在の構成とロードされているモジュールに基づいて構成(lsmod)を生成します。モジュールをロードするために不要なモジュールオプションを無効にします。

他のコンピュータのlocalmodconfigを作成するには、そのコンピュータのlsmodをファイルに保存し、LSMODパラメータとして渡します。

               target$ lsmod > /tmp/mylsmod
               target$ scp /tmp/mylsmod host:/tmp

               host$ make LSMOD=/tmp/mylsmod localmodconfig

上記の方法は、クロスコンパイル時にも機能します。

 "make localyesconfig" Similar to localmodconfig, except it will convert
                       all module options to built in (=y) options.

おすすめ記事