diff options
| author | Erik Schilling <erik.schilling@linaro.org> | 2023-08-16 21:03:07 +0200 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2023-08-24 01:37:32 +0000 |
| commit | 683bfbfc19db8de034da2b652af14c8df72c912c (patch) | |
| tree | 922acebc56c7dba013dd24e68f1eea305438e36b | |
| parent | 0e64f6382fea409c970eaa804f6043f1c5f109f6 (diff) | |
| download | meta-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>
| -rw-r--r-- | recipes-extended/vhost-device/vhost-device-gpio_0.1.0.bb | 2 |
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 |
| 11 | DEPENDS += "clang-native" | 11 | DEPENDS += "clang-native" |
| 12 | 12 | ||
| 13 | SKIP_RECIPE[vhost-device-gpio] ?= "${@bb.utils.contains('BBFILE_COLLECTIONS', 'clang-layer', '', 'Depends on clang-native from meta-clang which is not included', d)}" | ||
| 14 | |||
| 13 | SRC_URI += "crate://crates.io/vhost-device-gpio/0.1.0" | 15 | SRC_URI += "crate://crates.io/vhost-device-gpio/0.1.0" |
| 14 | SRC_URI[vhost-device-gpio-0.1.0.sha256sum] = "f4789dd127ce746d4f702d50256ff09e47b19fdb2bfee88a254b7e48efbf1100" | 16 | SRC_URI[vhost-device-gpio-0.1.0.sha256sum] = "f4789dd127ce746d4f702d50256ff09e47b19fdb2bfee88a254b7e48efbf1100" |
| 15 | 17 | ||
