Buildroot is a set of Makefiles and patches that makes it easy to generate a complete embedded Linux system. Buildroot can generate any or all of a cross-compilation toolchain, a root filesystem, a kernel image and a bootloader image. Buildroot is useful mainly for people working with small or embedded systems, using various CPU architectures (x86, ARM, MIPS, PowerPC, etc.) : it automates the building process of your embedded system and eases the cross-compilation process.
http://git.buildroot.net/buildroot/
$ git clone git://git.buildroot.net/buildroot
$ git clone https://github.com/vancepym/buildroot.git -b cubie/master
$ make cubieboard_defconfig
$ make
$ git clone https://github.com/vancepym/buildroot.git -b cubie/master
$ make cubieboard2_defconfig
$ make
$ git clone https://github.com/vancepym/buildroot.git -b cubie/master
$ make cubietruck_defconfig
$ make
$ git clone https://github.com/vancepym/buildroot.git -b cubieboard/2013.02.x
$ make cubieboard_defconfig
$ make