aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-11-09 22:33:52 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-11-10 15:33:07 +0100
commit9e63ec171df98860e18d8328d9d00248050af69d (patch)
tree0205f4a7b2c4200bcf5a822b9de6a7f7f8c578c9
parentcd080fe42133b917d6e0fffc6c5c6344de6f642d (diff)
downloadbuildroot-9e63ec171df98860e18d8328d9d00248050af69d.tar.gz
buildroot-9e63ec171df98860e18d8328d9d00248050af69d.tar.bz2
package/jailhouse: python scripts needs python-mako
jailhouse-config-create script needs python-mako, see https://github.com/siemens/jailhouse/commit/5c7f2c4c30f19aa7eb95dffa7b7bb92393c09ba7 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>
-rw-r--r--package/jailhouse/Config.in1
-rw-r--r--package/jailhouse/jailhouse.mk12
2 files changed, 10 insertions, 3 deletions
diff --git a/package/jailhouse/Config.in b/package/jailhouse/Config.in
index 5b9ecc7b7b..d270a2ae8e 100644
--- a/package/jailhouse/Config.in
+++ b/package/jailhouse/Config.in
@@ -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.
diff --git a/package/jailhouse/jailhouse.mk b/package/jailhouse/jailhouse.mk
index fa74f9e8c4..aab232eb92 100644
--- a/package/jailhouse/jailhouse.mk
+++ b/package/jailhouse/jailhouse.mk
@@ -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