Building a component in OE

From WebOS-Ports
Revision as of 13:30, 15 January 2015 by Morphis (talk | contribs) (→‎Setup)
Jump to navigation Jump to search



  • You have a local copy of the component repo in path/to/<component name>
  • You have a working OE build dir in /srv/webos-ports (To set this up, start here: [1])
  • You have a working knowledge of linux
  • You have the Android SDK Setup


Add the following to the bottom of conf/local.conf

S_pn-<component name> = "path/to/<component name>"


Now you can build the component from your OE environment by

$ MACHINE=<machine name> bb -c compile -f <component name>

The output is hidden inside the build tree. Look into the path

tmp-glibc/work/armv7a-vfp-neon-webos-linux-gnueabi/<component name>/<version>/build


tmp-glibc/work/<machine name>-webos-linux-gnueabi/<component name>/<version>/build

for the binary you have built and transfer it to the device to the right location. For example use adb

$ adb push tmp-glibc/work/armv7a-vfp-neon-webos-linux-gnueabi/luna-webappmanager/0.2.0-8+gitAUTOINC+5344f19613-r0/build/src/LunaWebAppManager /usr/sbin/