mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 13:33:28 +08:00
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:
parent
cd080fe421
commit
9e63ec171d
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user