[meta-oe][PATCH] mm-common: package the files from ${PN} in ${PN}-dev and use allarch


Martin Jansa
 

* based on this bbappend from 2012:
https://github.com/openwebos/meta-webos/commit/f4745112438a5ba1913708b6b6ac30234ec8076e
time to finally get rid of it

Signed-off-by: Martin Jansa <Martin.Jansa@...>
---
.../recipes-core/mm-common/mm-common_1.0.4.bb | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

diff --git a/meta-oe/recipes-core/mm-common/mm-common_1.0.4.bb b/meta-oe/recipes-core/mm-common/mm-common_1.0.4.bb
index 33969ff7a2..1ffdcfd045 100644
--- a/meta-oe/recipes-core/mm-common/mm-common_1.0.4.bb
+++ b/meta-oe/recipes-core/mm-common/mm-common_1.0.4.bb
@@ -6,7 +6,23 @@ GNOMEBASEBUILDCLASS = "meson"

inherit gnomebase

+# All the recipe does is stage python and shell script, some autotools files; nothing is compiled.
+inherit allarch
+
SRC_URI[archive.sha256sum] = "e954c09b4309a7ef93e13b69260acdc5738c907477eb381b78bb1e414ee6dbd8"
SRC_URI += "file://0001-meson.build-do-not-ask-for-python-installation-versi.patch"

BBCLASSEXTEND = "native"
+
+# These files aren't very usefull on target image, package them all in nnPN-dev
+FILES:${PN} = ""
+
+FILES:${PN}-dev += " \
+ ${datadir}/${BPN}/build \
+ ${datadir}/${BPN}/doctags \
+ ${datadir}/${BPN}/doctool \
+ ${bindir}/mm-common-get \
+ ${bindir}/mm-common-prepare \
+"
+# ${PN} package is empty, remove the default dependency on it
+RDEPENDS:${PN}-dev = ""
--
2.35.1

Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.