volume-key: not create python2 bindings

If create python2 bindings for volume-key, it requires to inherit
pythonnative which conflict with python3native.bbclass. And python2
reachs EOL, so remove package config 'python' and not create python2
bindings for volume-key.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Kai Kang 2019-12-30 18:14:32 +08:00 committed by Khem Raj
parent 0144d06c21
commit 01d8bdcf72

View File

@ -28,9 +28,10 @@ DEPENDS += " \
"
PACKAGECONFIG ??= "python3"
PACKAGECONFIG[python] = "--with-python,--without-python,python,python"
PACKAGECONFIG[python3] = "--with-python3,--without-python3,python3,python3"
EXTRA_OECONF = "--without-python"
RDEPENDS_python3-${BPN} += "${PN}"
PACKAGES += "python3-${BPN}"