If I add whitespace to the recipe, it works. It will read the new BUILD_GIT_POSITION and trigger commands to be re-run if it was changed.
How do I make it so that a recipe file is never cached, and reparsed? Parsing is fine, since it BUILD_GIT_POSITION doesn't change, the commands do_compile don't get run. However, if it does change, do_compile does get called (which is what I want). On Thu, Dec 7, 2017 at 3:22 PM, Paul Knopf <[email protected]> wrote: > I have all my meta-layers and build conf files checked into a single > repository (submodules for layers). I want a recipe to look at the git > repository, and place a file in the build. I'd like this repository to read > the HEAD, and decide if it needs to be rebuilt (to put new file in image) > based off of HEAD/branch location. > > On Thu, Dec 7, 2017 at 11:15 AM, Alexander Kanavin < > [email protected]> wrote: > >> On 12/07/2017 05:47 PM, Paul Knopf wrote: >> >>> I take it that this is not possible? >>> >> >> A recipe will rebuild if you change SRCREV or SRC_URI in it. What are you >> trying to do? >> >> Alex >> > >
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
