I have my nice recipe that fetch from a git repository the master. I have configured my sources and cmake as in this guide: http://brianmilco.blogspot.it/2012/11/cmake-automatically-use-git-tags-as.html
and the objective is to have printed the git hash of the current build.
If i compile it on my pc everything works fine but when I cross compile I have GIT-NOTFOUND in the variable.
Do you know of a workaround / a bitbake way for doing it?
UPDATE: where I do the compile on my computer git status says "nothing to commit" on the bitbake checkout directory if I do the same command it says:
git status
HEAD detached at f47fc96
nothing to commit, working directory clean
I think that the problem could be the fact that it is in detached mode?