diff mbox series

staging: add ${datadir}/gtk-doc/html to the sysroot blacklist

Message ID 20190429145511.8286-1-ross.burton@intel.com
State Accepted
Commit 11c87952c9a71036119d509ce09f17e352e4c6d8
Headers show
Series staging: add ${datadir}/gtk-doc/html to the sysroot blacklist | expand

Commit Message

Ross Burton April 29, 2019, 2:55 p.m. UTC
When api-documentation is enabled the GNOME stack builds API documentation. As
${datadir} is in SYSROOT_DIRS this documentation is in the sysroot but is never
used, wasting time and space.

Add ${datadir}/gtk-doc/html to the blacklist so that the generated documentation
isn't in the sysroot.  Note that we don't blacklist all of ${datadir}/gtk-doc
because gtk-doc itself installs files there which are needed to use gtk-doc.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/classes/staging.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 062b2817c88..6bcd0b087a0 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -27,9 +27,10 @@  SYSROOT_DIRS_BLACKLIST = " \
     ${mandir} \
     ${docdir} \
     ${infodir} \
-    ${datadir}/locale \
     ${datadir}/applications \
     ${datadir}/fonts \
+    ${datadir}/gtk-doc/html \
+    ${datadir}/locale \
     ${datadir}/pixmaps \
     ${libdir}/${PN}/ptest \
 "