Building Apps and Kernels

From WebOS Internals
Revision as of 07:12, 28 August 2011 by Cyclic (talk | contribs) (Initial creation.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Apps

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