linphone-iphone/build/openembedded/README
2012-08-17 16:45:16 +02:00

49 lines
1.5 KiB
Text

Recipes for open embedded: http://www.openembedded.org
Documentations:
http://docs.openembedded.org/usermanual/
http://bitbake.berlios.de/manual/
Instructions for compilation from sources: (requires 10 Go of free space)
- Choose a distribution and build it.
For example, to build Angstrom follow the guide at http://www.angstrom-distribution.org/building-angstrom
For IGEPv2 use environment variable MACHINE=igep0020
- Add linphone recipes to the pool with an higher priority:
Edit conf/bblayers.conf to set EXTRA_LAYERS to point to the source repository of linphone. Search the EXTRALAYERS definition in conf/bblayers.conf
and modify it like this:
# Add your overlay location to EXTRALAYERS
# Make sure to have a conf/layers.conf in there
EXTRALAYERS ?= "/home/smorlat/sources/git/linphone-daemon/build/openembedded"
- Prepare compilation
Source appropriate environment with "~/.oe/enviro*"
Change directory to where you launched Angstrom install script.
- Compile linphone
bitbake -c clean linphone
bitbake linphone
- Find the generated packages "*.ipk"
Example: /Data/work/angstrom/angstrom-setup-scripts/build/tmp-angstrom_2008_1/deploy/glibc/ipk/armv7a/
Installation
- check network connectivity
* ping linphone.org
* see "route -n"
* see "/etc/resolv.conf"
- update package list
* opkg update
- copy ipk files to install to /tmp
- eventually remove previously installed packages
- install with "opkg install libortp*.ipk libmediastreamer*.ipk liblinphone*.ipk linphonec*.ipk"