Skip to contentSkip to conversation

zephyr-kernel: Add python dependencies

PATCH New Naveen Saini 1 participant 1 message Sep 21, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 zephyr-kernel: Add python dependencies

From: Jon Mason <[email protected]>

Zephyr refuses to compile due to missing python dependencies.

---
 recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc | 2 ++
 1 file changed, 2 insertions(+)
recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc +2 -0
index d7147d5..2090092 100644
@@ -2,6 +2,7 @@
 
 ZEPHYR_INHERIT_CLASSES += "zephyr cmake"
 inherit ${ZEPHYR_INHERIT_CLASSES}
+inherit python3native
 
 # There shouldn't be a manifest for zephyr kernels since there is no root
 # filesystem.
@@ -20,6 +21,7 @@ export ZEPHYR_BASE="${S}"
 # We always need a toolchain to cross-compile.
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "gcc-cross-${TARGET_ARCH} libgcc ${TOOLCHAIN_TARGET_TASK} gperf-native"
+DEPENDS += " python3-pyelftools-native python3-pyyaml-native python3-pykwalify-native"
 CROSS_COMPILE = "${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}"
 
 DEPENDS_append_qemuall = " qemu-native qemu-helper-native"
Signature · 1 line
2.27.0