]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: runqueue: Clean up BB_HASHCHECK_FUNCTION API
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Jul 2019 14:46:03 +0000 (15:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Aug 2019 10:21:32 +0000 (11:21 +0100)
commit40a5e193c4ba45c928fccd899415ea56b5417725
treeedc19c09d09e7a84dfc4fba2fac021ac63801ced
parent43d37a6eaf2224c0dda1d1436a0afc2bd34fdddf
bitbake: runqueue: Clean up BB_HASHCHECK_FUNCTION API

This function uses an old API which uses offsets into lists as a communication
mechanism. Update the API to use "tid" which is used universally in runqueue now.

We can also add kwargs support to the funciton definition to drop some of the
backwards compaiblility hoops we had to jump though with different function
argument combinations.

(Bitbake rev: dc23550047e5078da491ce9a6f30989cb5260df6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/runqueue.py
bitbake/lib/bb/tests/runqueue-tests/classes/base.bbclass