bitbake: data: Ensure emit_func honours vardeps flag
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Dec 2012 16:25:52 +0000 (16:25 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Dec 2012 17:42:19 +0000 (17:42 +0000)
commitdd99f69c8a35d2491f6229808a533c93cc06e152
tree4cf7fd4c754b87592bc5461bc187f13fa52d4732
parentd8cc7dc9ed5751ae7c38deedb58d201ee78e4b4d
bitbake: data: Ensure emit_func honours vardeps flag

Currently, calling a shell function using exec_func may result in
dependent functions being missing, if the shell parser can't detect
the dependency, even if it was specified with the vardeps flag.

This patch ensures the function looks at the flag and considers it
when deciding which other functions need to be output.

[YOCTO #3561]

(Bitbake rev: a906c94328b040d5076571bd593b57be7ee403a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/data.py