Building Apps and Kernels

From WebOS Internals
Revision as of 07:21, 28 August 2011 by Cyclic (talk | contribs) (→‎Apps)
Jump to navigation Jump to search

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 wiki page, you should start there.

Apps

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 preware.

cd apps/preware
make package