Difference between revisions of "Building Apps and Kernels"

From WebOS Internals
Jump to: navigation, search
m (Apps)
(Apps)
Line 1: Line 1:
 
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.
 
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''' ==
+
== '''Setup''' ==
  
 
Create the directory structure for the source:
 
Create the directory structure for the source:
Line 20: Line 20:
 
make toolchain
 
make toolchain
 
</pre>
 
</pre>
 +
 +
== '''Apps''' ==
  
 
Package up preware.
 
Package up preware.
 
<pre>
 
<pre>
cd apps/preware
+
cd /srv/preware/build/apps/preware
 +
make package
 +
</pre>
 +
 
 +
== '''Kernels''' ==
 +
 
 +
Package up UberKernel.
 +
<pre>
 +
cd /srv/preware/kernels/uber-kernel-touchpad
 
make package
 
make package
 
</pre>
 
</pre>

Revision as of 23:27, 27 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.

Setup

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

Apps

Package up preware.

cd /srv/preware/build/apps/preware
make package

Kernels

Package up UberKernel.

cd /srv/preware/kernels/uber-kernel-touchpad
make package