1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

nativesdk-buildtools-perl-dummy.bb: Fix variable expansion in python code

Since python expansion of bb data variables is disable in order to
provide a standard interface usage for expand variables this variables
aren't expanded now so change to call d.expand('${VAR}').

This API expansion change was causing to install perl in nativesdk.

(From OE-Core rev: cb7a3f997d7278eb6e31ea79ad933a7ab1717977)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Aníbal Limón
2016-02-11 16:08:06 -06:00
committed by Richard Purdie
parent 5e978d7ed8
commit 9a6cb10d4a
@@ -20,7 +20,7 @@ PERLPACKAGES = "nativesdk-perl \
ALLOW_EMPTY_${PN} = "1"
python populate_packages_prepend() {
d.appendVar('RPROVIDES_${PN}', '${PERLPACKAGES}')
d.appendVar('RCONFLICTS_${PN}', '${PERLPACKAGES}')
d.appendVar(d.expand('RPROVIDES_${PN}'), '${PERLPACKAGES}')
d.appendVar(d.expand('RCONFLICTS_${PN}'), '${PERLPACKAGES}')
}