Last modified by Erwan Croze on 2018/11/21 10:35

From version 32.1
edited by MatthieuTanon
on 2018/01/10 16:48
To version 33.1
edited by MatthieuTanon
on 2018/01/10 16:57
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -21,23 +21,6 @@
21 21  Install the required packages for the host development system. The Yocto Project documentation has a list of everything needed for each host type (Ubuntu, CentOS, etc.) as well as the matching install commands for them here :
22 22  [[YoctoProject-required-packages>>http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#required-packages-for-the-host-development-system]]
23 23  
24 -=== Using cmake 3 with Fido ===
25 -
26 -{{info}}
27 -You only need to to this step if you are using new linphone recipes ( in the *.inc recipe files, look for "inherit cmake") . The older ones use the autotools and are working fine( in the *.inc recipe files, look for "inherit autotools").
28 -You don't need this step if you are using Yocto Morty
29 -{{/info}}
30 -
31 -Yocto Fido uses **cmake version 2.8.12**. However, the linphone recipes require **cmake version 3 and higher** to be compiled.
32 -
33 -Fortunately, a patch has been done to allow porting cmake 3.2.2 to Fido , the commit is here [[http:~~/~~/cgit.openembedded.org/openembedded-core/patch/?id=c171909352b5ed92166857b0bbcd901ae0f74996>>url:http://cgit.openembedded.org/openembedded-core/patch/?id=c171909352b5ed92166857b0bbcd901ae0f74996]] from [[http:~~/~~/cgit.openembedded.org/openembedded-core/commit/?id=c171909352b5ed92166857b0bbcd901ae0f74996>>url:http://cgit.openembedded.org/openembedded-core/commit/?id=c171909352b5ed92166857b0bbcd901ae0f74996]] . The following file contains the patch based on this commit [[cmake_upgrade_to_3.2.2.patch>>attach:cmake_upgrade_to_3.2.2.patch]]
34 -
35 -If you put the file under the openembedded-core **(TBD)** directory, starting the patch from the same directory, the command would be:
36 -
37 -{{code}}
38 -git apply cmake_ugrade_to_3.2.2.patch
39 -{{/code}}
40 -
41 41  === Get the Yocto build system for your platform ===
42 42  
43 43  The Yocto project Complete documentation set covers this in details, and is available on their official website here : [[Yocto Documentation Website>>https://www.yoctoproject.org/documentation ]]. The Yocto Project Quick Start guide is particularly helpful for the execution of the following steps.
... ... @@ -57,8 +57,23 @@
57 57  
58 58  * Add the openembedded layers to the bblayers configuration file
59 59  
60 -== ==
43 +=== Using cmake 3 with Fido ===
61 61  
45 +{{info}}
46 +You only need to to this step if you are using new linphone recipes ( in the *.inc recipe files, look for "inherit cmake") . The older ones use the autotools and are working fine( in the *.inc recipe files, look for "inherit autotools").
47 +You don't need this step if you are using Yocto Morty
48 +{{/info}}
49 +
50 +Yocto Fido uses **cmake version 2.8.12**. However, the linphone recipes require **cmake version 3 and higher** to be compiled.
51 +
52 +Fortunately, a patch has been done to allow porting cmake 3.2.2 to Fido , the commit is here [[http:~~/~~/cgit.openembedded.org/openembedded-core/patch/?id=c171909352b5ed92166857b0bbcd901ae0f74996>>url:http://cgit.openembedded.org/openembedded-core/patch/?id=c171909352b5ed92166857b0bbcd901ae0f74996]] from [[http:~~/~~/cgit.openembedded.org/openembedded-core/commit/?id=c171909352b5ed92166857b0bbcd901ae0f74996>>url:http://cgit.openembedded.org/openembedded-core/commit/?id=c171909352b5ed92166857b0bbcd901ae0f74996]] . The following file contains the patch based on this commit [[cmake_upgrade_to_3.2.2.patch>>attach:cmake_upgrade_to_3.2.2.patch]]
53 +
54 +If you put the file under the openembedded-core **(TBD)** directory, starting the patch from the same directory, the command would be:
55 +
56 +{{code}}
57 +git apply cmake_ugrade_to_3.2.2.patch
58 +{{/code}}
59 +
62 62  == Add the Linphone recipe ==
63 63  
64 64  In order to build Linphone and its dependencies with Yocto, the following steps must be completed :