[OE-core] [PATCH 0/2] Set STAMPCLEAN for externalsrc when S == B

Ola x Nilsson ola.x.nilsson at axis.com
Thu Dec 22 13:16:32 UTC 2016


When using devtool modify and changing code back and forth bitbake
sometimes does not realize that a rebuild is required.  This is
because STAMP and STAMPCLEAN doesn't match.  Old stamps confuse
bitbake and when the files in ${S} happen to match something we've
seen before bitbake decides to do nothing.

Fix by setting STAMPCLEAN.
Add tests.

Ola x Nilsson (2):
  oe-selftest: devtool: Reverting a change should trigger rebuild
  externalsrc: Set STAMPCLEAN to match STAMP

 meta/classes/externalsrc.bbclass  |  1 +
 meta/lib/oeqa/selftest/devtool.py | 54 +++++++++++++++++++++++++++------------
 2 files changed, 39 insertions(+), 16 deletions(-)

-- 
2.1.4




More information about the Openembedded-core mailing list