5 ### Define the YOCTO_WORKDIR environment variable:
7 export YOCTO_WORKDIR=<path_to_your_workdir>
9 ### Set up that work dir in which you clone the scm/bb/tizen repository:
11 mkdir -p $YOCTO_WORKDIR
13 git clone ssh://review.tizen.org:29418/scm/bb/tizen
15 ### Copy .spec2yoctorc to your home directory
17 cp tizen/proto-meta-Tizen_generic/.spec2yoctorc ~/
19 ### Create a symbolic link to spec2yocto.py in a directory of your ${PATH}
21 ln -sf ${YOCTO_WORKDIR}/tizen/tools/spec2yocto.py
23 You can, of course, replace the "~/bin" with another directory of your choice.
25 ### Ensure that spec2yocto.py can find cmdln.py, for example from mic:
28 ln -s /usr/share/pyshared/mic/utils/cmdln.py ${YOCTO_WORKDIR}/tizen/tools/
30 ### Create a spec2yocto directory in /usr/share
32 sudo mkdir /usr/share/spec2yocto
34 ### Create a symbolic link to proto-meta-Tizen_generic/rpm_tizen_macro/ in /usr/share/spec2yocto/macro
36 sudo ln -sf ${YOCTO_WORKDIR}/tizen/proto-meta-Tizen_generic/rpm_tizen_macro/ /usr/share/spec2yocto/macro
40 ### Execute gitCloneAll.sh (optional)
42 This project already contains all the necessary spec files to generate the recipes however those
43 spec files may not be the most recent ones. If you want to generate the recipes from the latest spec
44 files you can use this command which will clone all the tizen projects used in the Tizen Yocto
45 images (note that it will take a while):
47 ./tizen/tools/gitCloneAll.sh
49 Alternatively you can also fetch a specific project:
51 ./tizen/tools/gitCloneAll.sh <project-name>
53 <project-name> has to be listed in the .spec2yoctorc. Check with
55 spec2yocto manifestToList | grep <project-name>
59 For example, to generate the recipes:
61 spec2yocto createRecipes
63 For more commands, you can display the help: