package/jailhouse: python scripts needs python-mako

jailhouse-config-create script needs python-mako, see
5c7f2c4c30

Moreover jailhouse-config-create needs host-python-mako to build
jailhouse-config-collect

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2019-11-09 22:33:52 +01:00 committed by Thomas Petazzoni
parent cd080fe421
commit 9e63ec171d
2 changed files with 10 additions and 3 deletions

View File

@ -16,6 +16,7 @@ if BR2_PACKAGE_JAILHOUSE
config BR2_PACKAGE_JAILHOUSE_HELPER_SCRIPTS
bool "Jailhouse helper scripts"
depends on BR2_PACKAGE_PYTHON
select BR2_PACKAGE_PYTHON_MAKO # runtime
help
Python-based helpers for the Jailhouse Hypervisor.

View File

@ -18,10 +18,16 @@ JAILHOUSE_MAKE_OPTS = \
DESTDIR="$(TARGET_DIR)"
ifeq ($(BR2_PACKAGE_JAILHOUSE_HELPER_SCRIPTS),y)
JAILHOUSE_DEPENDENCIES += host-python-setuptools
JAILHOUSE_MAKE_OPTS += PYTHON_PIP_USABLE="yes"
JAILHOUSE_DEPENDENCIES += \
host-python-mako \
host-python-setuptools
JAILHOUSE_MAKE_OPTS += \
HAS_PYTHON_MAKO="yes" \
PYTHON_PIP_USABLE="yes"
else
JAILHOUSE_MAKE_OPTS += PYTHON_PIP_USABLE="no"
JAILHOUSE_MAKE_OPTS += \
HAS_PYTHON_MAKO="no" \
PYTHON_PIP_USABLE="no"
endif
define JAILHOUSE_BUILD_CMDS