Configure the buildsystem - neutrino-hd/meta-coolstream GitHub Wiki

This shows how to setup the buildsystem for the "Coolstream HD2" settop boxes

  • Install needed packages for Ubuntu

sudo apt-get install git make gcc g++ diffstat texinfo chrpath libsdl-dev

  • Create a folder for the buildsystem inside your home folder

mkdir ~/yocto

  • Clone poky project into the buildsystem folder

cd ~/yocto

git clone -b rocko git://git.yoctoproject.org/poky

  • Clone meta layer for neutrino and coolstream into the poky folder

cd poky

git clone https://github.com/neutrino-hd/meta-coolstream.git

git clone https://github.com/neutrino-hd/meta-neutrino.git

  • Set the config example to an export variable

export TEMPLATECONF=meta-coolstream/example

  • Create the folder "build-hd2" using a shellscript (the script jumps automatically into the build folder)

. ./oe-init-build-env build-hd2

  • Adjust the config for your needs

gedit conf/local.conf

  • After that you can build the image with

bitbake neutrino-image

Finally the image can be found in tmp/deploy/images/hd51