diff options
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-dev.bb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb b/meta/recipes-kernel/linux/linux-yocto-dev.bb index ed94ab2517..6b6ea9a7e8 100644 --- a/meta/recipes-kernel/linux/linux-yocto-dev.bb +++ b/meta/recipes-kernel/linux/linux-yocto-dev.bb | |||
@@ -39,8 +39,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | |||
39 | DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" | 39 | DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" |
40 | DEPENDS += "openssl-native util-linux-native" | 40 | DEPENDS += "openssl-native util-linux-native" |
41 | DEPENDS += "gmp-native libmpc-native" | 41 | DEPENDS += "gmp-native libmpc-native" |
42 | # yaml and dtschema are required for 5.16+ device tree validation | 42 | |
43 | DEPENDS += "libyaml-native python3-dtschema-native" | 43 | # yaml and dtschema are required for 5.16+ device tree validation, libyaml is checked |
44 | # via pkgconfig, so must always be present, but we can wrap the others to make them | ||
45 | # conditional | ||
46 | DEPENDS += "libyaml-native" | ||
47 | |||
48 | PACKAGECONFIG ??= "" | ||
49 | PACKAGECONFIG[dt-validation] = ",,python3-dtschema-native" | ||
50 | # we need the wrappers if validation isn't in the packageconfig | ||
51 | DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'dt-validation', '', 'python3-dtschema-wrapper-native', d)}" | ||
44 | 52 | ||
45 | COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemumips64|qemux86-64|qemuriscv64)" | 53 | COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemumips64|qemux86-64|qemuriscv64)" |
46 | 54 | ||