aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-27 16:57:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-28 23:32:16 +0000
commitaa8319c05da6ffc6ab76cbb71a41b857db235187 (patch)
tree1875af914be2ecc9991b1389b0a39701f1e7cd4d /meta/recipes-core
parent1d4c20ecc2833c2c92de8682c772e27853dafc93 (diff)
downloadopenembedded-core-contrib-aa8319c05da6ffc6ab76cbb71a41b857db235187.tar.gz
libxml2: Drop docs in native case
With rss, moving these around was having an increasing overhead and we don't need them in the native case so remove them. (From OE-Core rev: 3b8dcd210a494baecead7dd1e568fb60ac93ed9b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/libxml/libxml2_2.9.4.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/libxml/libxml2_2.9.4.bb b/meta/recipes-core/libxml/libxml2_2.9.4.bb
index 0287a0a7c4..93b9ba01da 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"