On Sun, Dec 18, 2011 at 10:57:27AM +0000, Ben Thompson wrote:
> Hi Alexandros
> 
> Many thanks for working on this.
> 
> 18.12.2011, 12:38, "Πρεκατές Αλέξανδρος" <[email protected]>:
> > With the help of JaMa i managed to compile and run succesfully the two
> > tutorial hello world programs in page:
> > http://shr-project.org/trac/wiki/Developing%20your%20own%20applications
> >
> > Also i uptodate the webpage.
> > Mainly i changed old elm related lines , added -levas , and uptodate dirs to
> > put recipes related to OE-core and not to OE-classic like they were.
> >
> > But i'm not sure in:
> > $ cd /path/to/shr/build
> > $ mkdir myfirstgui
> > $ cd myfirstgui
> >
> > /path/to/shr/build   ->  /OE   ? (it works with me)
> > or the tutorial  apps someone creates should be in
> > another dir .
> > Also from the newbie point of view  /path/to/shr/build seems little foggy to
> > me. I build shr-core in /OE/shr-core  but if i put there myfirstgui it wont
> > cook :-).
> 
> I am not sure where would be a good place to put the source folder now that 
> we are using the chroot build system. I guess it will need to be inside the 
> chroot jail, other wise bitbake will not be able to find it. Maybe JaMa can 
> suggest where we can put the Hello World source files? I wonder if we should 
> create a folder called "my_sources" or something like that in the root of the 
> chroot jail?

There are 2 different paths, one for application sources and one for
recipe.

For application sources you can use whatever directory you like as long
as it stays inside chroot (if you're using shr-chroot) and if you set S 
variable in recipe accordingly. I usually use /OE/projects/foo.

For recipe the path has to be included in one of BBLAYERS directories
(see conf/bblayers.conf).

Also be carefull with "make update" which will wipe all local changes
from oe-core/meta-oe/meta-smartphone repositories, so it makes sense to
create own layer to hold your own recipes and just add such layer to
conf/bblayers.conf, see meta-jama as example of very simple layer
http://gitorious.org/shr/meta-jama

For bigger projects then such hello worlds I suggest to use some VCS
repository for foo application and then when your project is ready to be
included in SHR feed you have to only update SRC_URI in recipe to
point to that for example git repository instead of building dir and
send us the recipe.

Cheers,
-- 
Martin 'JaMa' Jansa     jabber: [email protected]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to