Yocto で云々

deveploerworks の Yocto Project を使用して組み込み用のカスタム Linux ディストリビューションを作成する を参照しつつ。
とりあえず poky を clone します。

$ git clone git://git.yoctoproject.org/poky.git

つうかディスク空き推奨 100GB とか凄いな。必要なパケジを導入して以下を実行。

$ cd poky
$ . ./oe-init-build-env

作業ディレクトリは build になってました。ちなみに出力を控えておくと以下。

You had no conf/local.conf file. This configuration file has therefore been
created for you with some default values. You may wish to edit it to use a 
different MACHINE (target hardware) or enable parallel build options to take 
advantage of multiple cores for example. See the file for more information as 
common configuration options are commented.

The Yocto Project has extensive documentation about OE including a reference manual
which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/

You had no conf/bblayers.conf file. The configuration file has been created for
you with some default values. To add additional metadata layers into your
configuration please add entries to this file.

The Yocto Project has extensive documentation about OE including a reference manual
which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/



### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    meta-toolchain-sdk
    adt-installer
    meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'

bitbake というコマンドで、なのかな。core-image-minimal で試してみます。
て、その前に conf/local.conf 確認。末端に以下を追加。試験してる端末は一応 4 core です。

BB_NUMBER_THREADS = "8"
PARALLEL_MAKE = "-j 8"

で、以下。

$ bitmake core-image-minimal

何をしてるのかがよく分からんのですが、Raspberry Pi なソレもあるようなので、こちらのお仕事が終わったらそちら方面で云々してみる方向。以下なあたりを見つつということで。

つうか

もの凄く時間かかってます。何してるんだろ。