From 1e8cedab4410923ccd815c5991b3df0b642a36e1 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 29 Apr 2019 15:55:11 +0100 Subject: staging: add ${datadir}/gtk-doc/html to the sysroot blacklist 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. (From OE-Core rev: 11c87952c9a71036119d509ce09f17e352e4c6d8) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/staging.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/classes/staging.bbclass') diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index 062b2817c8..6bcd0b087a 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 \ " -- cgit v1.2.3-54-g00ecf