On 02/24/2016 05:35 PM, Khem Raj wrote:

    I have this command in my qmake pro files:____

    VERSION = $$system(git describe --abbrev=0 --tags)____

    __ __

    I would like to have the package manager follow the tag versioning.____

    __ __

    Which means I would like to have something like:____

    PV = "git describe --abbrev=0 --tags"____

    SRC_URI = "${STUDIEL_GIT}/core.git;protocol=file;tag=${PV}"____

    __ __

    It does not work for sure. What is the correct way to do this ?


​SRC_URI is required by fetcher and there is nothing to git describe
before it is fetched.​
so thats your problem.

It's possible however to write an external script that updates the PV version in the recipe, but it needs to be run outside of bitbake.

Alex

--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to