update README and files to work with lastest angstrom and bitbake

This commit is contained in:
Simon Morlat 2012-08-13 18:19:53 +02:00
parent ee10dd30aa
commit f127c9d4b1
4 changed files with 17 additions and 11 deletions

View file

@ -12,15 +12,12 @@ Instructions for compilation from sources: (requires 10 Go of free space)
For example, to build Angstrom follow the guide at http://www.angstrom-distribution.org/building-angstrom
For IGEPv2 use environment variable MACHINE=igep0020
- Add recipes to the pool with an higher priority).
See http://bitbake.berlios.de/manual/ch04s02.html#id870544 Example 4.8. Using “bbfile collections”
Example:
BBFILES = "/Data/work/angstrom/angstrom-setup-scripts/sources/openembedded/recipes/*/*.bb /home/guillaume/dev/linphone-daemon/build/openembedded/*.bb"
BBFILE_COLLECTIONS = "upstream local"
BBFILE_PATTERN_upstream = "^/Data/"
BBFILE_PATTERN_local = "^/home/"
BBFILE_PRIORITY_upstream = "5"
BBFILE_PRIORITY_local = "10"
- Add linphone recipes to the pool with an higher priority:
Edit conf/bblayers.conf to set EXTRA_LAYERS to the source repository of linphone:
# 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*"

View file

@ -0,0 +1,9 @@
# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/*.bb "
BBFILE_COLLECTIONS += "linphone-layer"
BBFILE_PATTERN_linphone-layer := "^${LAYERDIR}/"
BBFILE_PRIORITY_linphone-layer = "50"

View file

@ -23,7 +23,7 @@ PROVIDES_gtk = "linphone linphonec liblinphone libmediastreamer libortp"
inherit autotools pkgconfig gettext
export PKG_CONFIG=${STAGING_BINDIR_NATIVE}/pkg-config
#export PKG_CONFIG=${STAGING_BINDIR_NATIVE}/pkg-config
LINPHONE_OE_ENABLE_TESTS = "--disable-tests"
LINPHONE_OE_ENABLE_VIDEO = "--disable-video"

View file

@ -7,8 +7,8 @@ PV = "1.1+git"
PR = "r3"
SPEEX_TMP_DIR="${HOME}/SPEEX_TMP"
SRC_URI = "file://${SPEEX_TMP_DIR}/speex.tar.gz"
S = "${WORKDIR}/speex"
LIC_FILES_CHKSUM = "file://COPYING;md5=314649d8ba9dd7045dfb6683f298d0a8"
PARALLEL_MAKE = ""