Distribution Customization FAQ

From Openmoko

(Redirected from Application Development FAQ)
Jump to: navigation, search

Contents

Overview

This is the place for frequently asked questions about distribution customization on OpenMoko environment.

FAQs

Compilation & packaging

What is the 'overlay' approach to bitbake development?

You can create a local overlay for the bitbake build chain and develop in the overlay as described in Application Development Crash Course.

Which .bb files are related with the Openmoko?

Are there any configuration files for Openmoko?

How can I port an application written with autotools to Openmoko?

After you source the OpenMoko toolchain variables, the OpenMoko processor compiler becomes the default compiler. You can compile any GNU - like project just typing ./configure --host i686 and then make - it will produce libraries and executables as expected. Just these executables will not run on your i686 host - they will run on OpenMoko ARM processor. Use scp to upload the executables to your phone.

How can I add an application written with autotools to the openmoko tree?

How can I make changes in the openmoko applications?

How can I submit my changes?

How can I use the mokomakefile in the development process? How?

Yes, MokoMakefile can be used in the development process. See Developing with MokoMakefile.

What's the way to include/exclude a newly added package to/from the final rootfs?

Where do the final ipk & binary files reside?

ipk files are in
./build/tmp/deploy/glibc/ipk/
binary images are in
./build/tmp/deploy/glibc/images/fic-gta01/

How can I add an application to the applications list?

How can I assign an image to my new application to be seen in the applications list?

The OpenMoko project tree contains the folder 'data' where you can put any 128*128 icon. You need to mention the icon in two places in this folder:

  • Makefile.am must contain the line dist_appicon_DATA = <icon_name>.png
  • The <application_name>.desktop file that must be in this folder should contain the Icon=<icon_name> (without file type).
Personal tools