Building Apps and Kernels
If you are looking for instructions for building apps and kernels for WebOS, you have come to the right place.
If you have not run through the WebOS_Internals_PDK document, you should start there.
Create the directory structure for the source:
sudo mkdir -p /srv/preware cd /srv/preware sudo chmod 777 .
Pull down the app source with git.
git clone git://git.webos-internals.org/preware/build.git
After you have the source, you need to build the toolchain — this can take some time.
cd build make toolchain
Package up the toolchain.
cd apps/preware make package