diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-09 13:47:36 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-10 13:55:33 +0000 |
commit | c665a2c93337fc372207af604c21bdea5babb4e5 (patch) | |
tree | ec5d60d5eb0a28eb3c9002cd81021dc5543a1f45 /bitbake/lib/bb/server | |
parent | 56b1af37dc61e06ef013b8c31248a91c475fffb1 (diff) | |
download | poky-c665a2c93337fc372207af604c21bdea5babb4e5.tar.gz |
bitbake: ast: Fix EXPORT_FUNCTIONS bug
If you have two classes, both of which set EXPORT_FUNCTIONS for the same funciton
and a standard funciton definition for the function that is exported, the export
function can sometimes overwrite the standard one.
The issue is that the internal flag the code uses isn't ovweritten if the variable
is giving a new value. Fix the issue by using a comment in the code that is injected
so that we know if it is ours or not.
Also add some testing for EXPORT_FUNCTIONS, not perfect but a start.
(Bitbake rev: 66306d5151acb0a26a171c338d8f60eb9eb16c6b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/server')
0 files changed, 0 insertions, 0 deletions