Ubuntu Pastebin

Paste from zbenjamin at Fri, 27 Feb 2015 17:12:24 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#checkout source into "project"
mkdir build-armhf
mkdir build-i386
cd build-armhf 
click chroot -a armhf -f ubuntu-sdk-14.10 run cmake ../project
click chroot -a armhf -f ubuntu-sdk-14.10 run make
click chroot -a armhf -f ubuntu-sdk-14.10 run make DESTDIR=/tmp/fatpackage install
cd ../build-i386 
click chroot -a i386 -f ubuntu-sdk-14.10 run cmake ../project
click chroot -a i386 -f ubuntu-sdk-14.10 run make
click chroot -a i386 -f ubuntu-sdk-14.10 run make DESTDIR=/tmp/fatpackage install
vim /tmp/fatpackage/manifest.json  #add all used arch to the architecture field as array e.g ["i386","armhf"]
cd /tmp
click build /tmp/fatpackage
Download as text