]> code.ossystems Code Review - openembedded-core.git/commit
cross.bbclass: override TARGET_* flags
authorMing Liu <peter.x.liu@external.atlascopco.com>
Thu, 6 Apr 2017 12:09:41 +0000 (14:09 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Apr 2017 21:48:07 +0000 (22:48 +0100)
commit55c83cb239df5faf5e2143fffca47f2f16931cb3
treee7e6f1d43ff0abe2bfee098c173b2e828cbfea62
parent5b69eef40868180c59400624096d7ebbbbea446b
cross.bbclass: override TARGET_* flags

Some TARGET_* flags are being exported in bitbake.conf currently, so
they are impacting all the tasks of a cross recipe even they are not
in use at all.

This can lead a lot of churn when the cross sysroot are shared by
machines while they have defined different TARGET_* flags.

And sometimes it even causes "Taskhash mismatch" errors.

Fix it by overriding with BUILD_* flags.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cross.bbclass