Building rbp1 .img from git on Ubuntu 15.10 x64

Hello!
Please, can you give me good tutorial, how to build rbp1 .img like this from git?
I use Ubuntu 15.10 x64.

Thank you!

Hi,

git clone https://github.com/osmc/osmc
cd installer/target
make rbp1

Sam