aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Mason <jdmason@kudzu.us>2020-09-21 19:31:53 -0400
committerNaveen Saini <naveen.kumar.saini@intel.com>2020-09-22 09:17:07 +0800
commitcb293402bfb3637a4e3389c5bb4d506e36e7e45c (patch)
treeed806e55e7f99f2cdfe3346666cd3c867b4c85ed
parentbc2b0968bf4f0a32353d4f00c9f8e1f453bcaddf (diff)
downloadmeta-zephyr-cb293402bfb3637a4e3389c5bb4d506e36e7e45c.tar.gz
meta-zephyr-cb293402bfb3637a4e3389c5bb4d506e36e7e45c.tar.bz2
meta-zephyr-cb293402bfb3637a4e3389c5bb4d506e36e7e45c.zip
zephyr-kernel: Add python dependencies
Zephyr refuses to compile due to missing python dependencies. Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Ross Burton <ross.burton@arm.com>
-rw-r--r--recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc
index d7147d5..7e569ed 100644
--- a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc
+++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc
@@ -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"
CROSS_COMPILE = "${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}"
DEPENDS_append_qemuall = " qemu-native qemu-helper-native"