[bitbake-devel] Bitbake override style removal with variable expansion

Shuang Liu shuangistan at gmail.com
Wed Feb 10 13:33:30 UTC 2016


Hi,

I face a problem that I tried to use the bitbake override style removal
with variable expansion.

I have a foo.bb and set FOO_PACKAGES = "${PN}_dummy"
And I use a foo.bbappend to remove it by FOO_PACKAGES_remove = "${PN}_dummy"
This doesn't work.

However, FOO_PACKAGES_remove = "foo_dummy" works fine.

Furthermore I tried other variable names besides PN, e.g.
FOO_PACKAGES = "foo_dummy"
FOONAME = "foo"
FOO_PACKAGES_remove = "${FOONAME}_dummy"
This doesn't works either.

So maybe there is some issue with variable expansion in the override style
removal?

I use bitbake 1.22 and am sorry I cannot test the master branch on my
working environment.
BitBake Build Tool Core version 1.22.0, bitbake version 1.22.0

Does somebody have some idea about thie behavior?

I am a bitbake rookie and please forgive me if the question is not
reasonable.

Thank you very much

Shuang :-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20160210/23597884/attachment.html>


More information about the bitbake-devel mailing list