[OE-core] [PATCH 7/7] libxml2: Drop docs in native case
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Jan 27 17:42:07 UTC 2017
With rss, moving these around was having an increasing overhead and we don't
need them in the native case so remove them.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-core/libxml/libxml2_2.9.4.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/recipes-core/libxml/libxml2_2.9.4.bb b/meta/recipes-core/libxml/libxml2_2.9.4.bb
index 0287a0a..93b9ba0 100644
--- a/meta/recipes-core/libxml/libxml2_2.9.4.bb
+++ b/meta/recipes-core/libxml/libxml2_2.9.4.bb
@@ -76,4 +76,9 @@ do_install_ptest () {
cp -r ${WORKDIR}/xmlconf ${D}${PTEST_PATH}
}
+do_install_append_class-native () {
+ # Docs are not needed in the native case
+ rm ${D}${datadir}/gtk-doc -rf
+}
+
BBCLASSEXTEND = "native nativesdk"
--
2.7.4
More information about the Openembedded-core
mailing list