Difference between revisions of "Building Apps and Kernels"

From WebOS Internals
Jump to navigation Jump to search
m
Line 21: Line 21:
 
</pre>
 
</pre>
  
Package up the toolchain.
+
Package up preware.
 
<pre>
 
<pre>
 
cd apps/preware
 
cd apps/preware
 
make package
 
make package
 
</pre>
 
</pre>

Revision as of 07:21, 28 August 2011

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