Building Nemo Mobile with Yocto
The process is very similar than AsteroidOS's one, because this Yocto project is based on AsteroidOS Yocto project.
Building Nemo Mobile from the source will take hours on the first time.
At the moment only target MACHINE
s qemux86
and qemux86-64
are supported.
Prerequirements
- 80GB of disk space
- Git
- Packages:
build-essential cpio diffstat gawk chrpath texinfo python2 python3 wget shared-mime-info
Preparing
Clone the shell script that prepares build environment.
git clone https://source.necunos.com:nemomobile/nemomobile.git
Then setup the environment ready for bitbake build by running the shell script.
. ./prepare-build.sh
When the environment has been setup correctly, you are now ready to build images, toolchains or packages.
Building
Environment variable MACHINE
tells the target platform. Currently only qemux86 and qemux86-64 are supported.
echo $MACHINE
Once environment and target MACHINE is correctly setup, you can start the build with the following command:
bitbake nemox86-image
Now there is time to grap cup of coffee and relax while you wait for the build to complete. xkcd.com/303
With same command bitbake
it is possible to build SDK(bitbake nemox86 -c populate_sdk
), eSDK or single packages(eg. bitbake lipstick
).
Running / Installing
As only working targets at the moment are qemux86 and qemux86-64 the Installing section is WIP.
Built image and kernel can be found from directory /tmp/-glibc/deploy/images/*machine*/.
Built SDK can be found from the directory /tmp/-glibc/deploy/sdk/*machine*/.
And built packages can be found from directory /tmp/-glibc/deploy/packages/*machine*/.
Check the Emulator section how to run the qemu emulator images. Check the Package Feed section to generate own package repository.
More information on Yocto guides, Quick Build, Bitbake