Changes between Version 20 and Version 21 of Getting started developing SHR


Ignore:
Timestamp:
04/25/11 18:44:49 (2 years ago)
Author:
jama
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting started developing SHR

    v20 v21  
    3131Applied to our goal, which is to develop locally SHR applications, you must override four variables: SRC_URI (where does source come from), SRCREV (source revision), SRCPV (program version) and S (working directory when compiling). 
    3232 
    33 To do that, create or edit '''conf/local-builds.inc''' with the following content (i.e libframeworkd-phonegui-efl): 
     33To do that, create or edit '''conf/local-builds.inc''' with the following content (i.e libphone-ui-shr): 
    3434{{{ 
    35 SRC_URI_pn-libframeworkd-phonegui-efl = "file:///path/to/shr-apps" 
    36 SRCREV_pn-libframeworkd-phonegui-efl = "LOCAL" 
    37 SRCPV_pn-libframeworkd-phonegui-efl = "LOCAL" 
    38 S_pn-libframeworkd-phonegui-efl = "${WORKDIR}/shr-apps/shr/${PN}" 
     35INHERIT_append_pn-libphone-ui-shr = "srctree gitpkgv" 
     36SRCREV_pn-libphone-ui-shr = "${GITSHA}" 
     37S_pn-libphone-ui-shr = "/path/to/source/${PN}" 
    3938}}} 
    40 This will cause the directory pointed to by SRC_URI (`shr-apps` in the example) to be copied to ${WORKDIR} for compilation, and the actual source of the application (i.e., the directory where `./configure` and `make` will be run) is expected to be found in S. If unset, S defaults to `${WORKDIR}/${PN}-${PV}`. 
    4139 
     40then change working directory to folder with your local checkout and you should be able to build it 
     41{{{ 
     42cd /path/to/source/${PN} 
     43bitbake -c clean libphone-ui-shr 
     44bitbake libphone-ui-shr 
     45}}} 
    4246 
    4347To know the best practice to contribute SHR, please refer to [wiki:"Coding Conventions"].