[OE-core] [PATCH v2] nativesdk-packagegroup-sdk-host: Add wayland-scanner to the SDK native toolchain
Seokha Ko
sukdo399 at daum.net
Mon Aug 27 00:47:56 UTC 2018
The wayland-scanner was missing from the native toolchain for SDK build
because it's copied from wayland dev package.
So make the wayland-scanner package and include it to SDK native toolchain.
Signed-off-by: Seokha Ko <sukdo399 at daum.net>
---
.../packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 +
meta/recipes-graphics/wayland/wayland_1.15.0.bb | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
index e2f6169994..6eab7ffe99 100644
--- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
+++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
@@ -24,6 +24,7 @@ RDEPENDS_${PN} = "\
nativesdk-dnf \
nativesdk-cmake \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland-scanner', '', d)} \
nativesdk-sdk-provides-dummy \
"
diff --git a/meta/recipes-graphics/wayland/wayland_1.15.0.bb b/meta/recipes-graphics/wayland/wayland_1.15.0.bb
index d037dc4654..2eafaf51d9 100644
--- a/meta/recipes-graphics/wayland/wayland_1.15.0.bb
+++ b/meta/recipes-graphics/wayland/wayland_1.15.0.bb
@@ -39,6 +39,8 @@ sysroot_stage_all_append_class-target () {
}
FILES_${PN} = "${libdir}/*${SOLIBS}"
-FILES_${PN}-dev += "${bindir} ${datadir}/wayland"
+FILES_${PN}-dev += "${datadir}/wayland"
+PACKAGES += "${PN}-scanner"
+FILES_${PN}-scanner = "${bindir}/wayland-scanner"
BBCLASSEXTEND = "native nativesdk"
--
2.17.1
More information about the Openembedded-core
mailing list