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 work 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 the behavior?
I suspect you need this patch:
which is in bitbake 1.24 and above.