summaryrefslogtreecommitdiff
path: root/meta
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:31:17 +0000
commit3b8dcd210a494baecead7dd1e568fb60ac93ed9b (patch)
treea4e7843f1b822fc73b2d1664d1a6051d40c5eb30 /meta
parent7656347c556915dc9acc5a2311ec4e879de6f43d (diff)
downloadopenembedded-core-3b8dcd210a494baecead7dd1e568fb60ac93ed9b.tar.gz
openembedded-core-3b8dcd210a494baecead7dd1e568fb60ac93ed9b.tar.bz2
openembedded-core-3b8dcd210a494baecead7dd1e568fb60ac93ed9b.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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"