Handbook:MIPS/Blocks/Kernel/ja

設定を準備する
Many of the systems supported have sample hiding in amongst the kernel source. Not all systems have configs distributed in this way. Those that do, can be configured using the commands mentioned in the table below.

All of the Gentoo installation images provide a kernel config option as part of the image itself, accessible as. This may be used in many cases. It is best though if the kernel source matches closely the kernel that is currently running. To extract it, simply run it through as shown below.

設定をカスタマイズする
Once a configuration is found, download it into the kernel source directory, and rename it to. From there, run to bring everything up to date according to the instructions above, and customize the configuration before compiling.

Just press the (or ) key at each prompt to accept the defaults for now ...

コンパイルおよびインストール
カーネルのコンフィグレーションが完了し、コンパイルとインストールをする時がきました. コンフィグレーションを終了させ、コンパイル作業を開始しましょう:

To compile natively:

Cross-compiling on target machine, adjust the mips64-unknown-linux-gnu- accordingly:

When compiling on another machine, such as an x86 box, use the following commands to compile the kernel & install modules into a specific directory to be transferred to the target machine.

上記の場合は が最終的なカーネルとして生成されます.

カーネルのコンパイルが終了したら、カーネルのイメージを にコピーしましょう.

Cobalt サーバー用では、カーネルイメージを圧縮します: