[OE-core] Testcases to show bitbake malfunction when using python functions in recipes

Khem Raj raj.khem at gmail.com
Fri Mar 25 22:59:24 UTC 2011


Hi

Attached are two patched good.patch and bad.patch both can be applied on
top of oe-core independently in two trees.

Then bitbake -p or bitbake -e qemu-native and search for EXTRA_OECONF

You will see that good.patch works but bad.patch does not

What I observed is it

put the python func in .bb - work
in .inc included by .bb - Does not work
in .inc -> .inc -> .bb - works
in  .inc -> .inc -> .inc -> .bb - Does not work

So there seems to be a pattern here

Let me  know if more info is needed


-- 
-Khem


More information about the Openembedded-core mailing list