summaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
authorErik Schilling <erik.schilling@linaro.org>2023-08-16 21:03:07 +0200
committerBruce Ashfield <bruce.ashfield@gmail.com>2023-08-24 01:37:32 +0000
commit683bfbfc19db8de034da2b652af14c8df72c912c (patch)
tree922acebc56c7dba013dd24e68f1eea305438e36b /recipes-extended
parent0e64f6382fea409c970eaa804f6043f1c5f109f6 (diff)
downloadmeta-virtualization-683bfbfc19db8de034da2b652af14c8df72c912c.tar.gz
vhost-device-gpio: only enable if meta-clang exists
This disables the recipe - which depends on clang-native - if meta-clang is not active. Link: https://lore.kernel.org/yocto-meta-virtualization/ZNyErpfW8p2lX81Z@nuoska/ Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org> Suggested-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Erik Schilling <erik.schilling@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/vhost-device/vhost-device-gpio_0.1.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-extended/vhost-device/vhost-device-gpio_0.1.0.bb b/recipes-extended/vhost-device/vhost-device-gpio_0.1.0.bb
index 4ef9de47..79931163 100644
--- a/recipes-extended/vhost-device/vhost-device-gpio_0.1.0.bb
+++ b/recipes-extended/vhost-device/vhost-device-gpio_0.1.0.bb
@@ -10,6 +10,8 @@ DEPENDS += "libgpiod"
10# libgpiod-sys generates bindings using bindgen, which depends on clang 10# libgpiod-sys generates bindings using bindgen, which depends on clang
11DEPENDS += "clang-native" 11DEPENDS += "clang-native"
12 12
13SKIP_RECIPE[vhost-device-gpio] ?= "${@bb.utils.contains('BBFILE_COLLECTIONS', 'clang-layer', '', 'Depends on clang-native from meta-clang which is not included', d)}"
14
13SRC_URI += "crate://crates.io/vhost-device-gpio/0.1.0" 15SRC_URI += "crate://crates.io/vhost-device-gpio/0.1.0"
14SRC_URI[vhost-device-gpio-0.1.0.sha256sum] = "f4789dd127ce746d4f702d50256ff09e47b19fdb2bfee88a254b7e48efbf1100" 16SRC_URI[vhost-device-gpio-0.1.0.sha256sum] = "f4789dd127ce746d4f702d50256ff09e47b19fdb2bfee88a254b7e48efbf1100"
15 17