]> code.ossystems Code Review - openembedded-core.git/commitdiff
libxml2: Drop docs in native case
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Jan 2017 16:57:53 +0000 (16:57 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 28 Jan 2017 23:31:17 +0000 (23:31 +0000)
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>
meta/recipes-core/libxml/libxml2_2.9.4.bb

index 0287a0a7c41216d1aaf2744f2298a527fdce8539..93b9ba01da10f7ef50c7726732548978dc9430e8 100644 (file)
@@ -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"