generic-poky/meta/classes/distutils-native-base.bbclass
Khem Raj 8314590f09 classes/distutils: Introduce PYTHON_PN
This is needed to accomodate python3 alongside
python2

(From OE-Core rev: ae931c2cf9e48e1fb74b4b727dbf668ea880023f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02 22:37:38 +00:00

4 lines
113 B
Text

inherit distutils-common-base
DEPENDS += "${@["${PYTHON_PN}-native", ""][(d.getVar('PACKAGES', True) == '')]}"