Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Adam Trhon <adam.trhon@tbs-biometrics.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: Openembedded Core <openembedded-core@lists.openembedded.org>
Subject: Re: how to load cmake args from git?
Date: Wed, 5 Jul 2017 15:59:50 +0200	[thread overview]
Message-ID: <20170705155631.548cfb71@loki02> (raw)
In-Reply-To: <20170623152119.3449aecf@loki02>


Finally we figured it out. When chaning EXTRA_OECMAKE with python
function, the function must not be registered like this:

addtask do_setup_extra_oecmake after do_patch before do_configure

but like this:

do_configure[prefuncs] += "do_setup_extra_oecmake"

I assume that as bitbake controls build task environment:

https://www.yoctoproject.org/docs/2.3/bitbake-user-manual/bitbake-user-manual.html#passing-information-into-the-build-task-environment

the changes of EXTRA_OECMAKE made in do_setup_extra_oecmake were not
propagated to do_configure.

Just for the completeness, how am I supposed to globally modify a
datastore variable from a python task?

Thank you
Adam


-- 
Ing. Adam Trhoň, Software Engineer
Touchless Biometric Systems s.r.o. | 
Palackého třída 180/44 | 61200 Brno | CZECH REPUBLIC | 
Mobile: +42(0) 721 565 113 | tbs-biometrics.cz


      reply	other threads:[~2017-07-05 18:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-22  8:42 how to load cmake args from git? Adam Trhon
2017-06-22 21:51 ` Burton, Ross
2017-06-23 10:57   ` Adam Trhon
2017-06-23 12:53     ` Burton, Ross
2017-06-23 13:21       ` Adam Trhon
2017-07-05 13:59         ` Adam Trhon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170705155631.548cfb71@loki02 \
    --to=adam.trhon@tbs-biometrics.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox