From 3b8dcd210a494baecead7dd1e568fb60ac93ed9b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 27 Jan 2017 16:57:53 +0000 Subject: 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 --- meta/recipes-core/libxml/libxml2_2.9.4.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/recipes-core/libxml') 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" -- cgit 1.2.3-korg