From 7d8f8d6b5a00af7a212cce41350f4e1c5989aabd Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 14 Feb 2014 19:00:40 -0200 Subject: [PATCH] nativesdk-qtbase.inc: Remove unused contents Fixes: ERROR: QA Issue: nativesdk-qtbase: Files/directories were installed but not shipped /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/lib /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/include /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/share /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/lib/libQt5Test.so /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/lib/libQt5Network.so ... Signed-off-by: Otavio Salvador --- recipes-qt/qt5/nativesdk-qtbase.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-qt/qt5/nativesdk-qtbase.inc b/recipes-qt/qt5/nativesdk-qtbase.inc index 36bc334a40..fe80c9bcf2 100644 --- a/recipes-qt/qt5/nativesdk-qtbase.inc +++ b/recipes-qt/qt5/nativesdk-qtbase.inc @@ -188,4 +188,8 @@ do_install() { # for modules which are still using syncqt and call qtPrepareTool(QMAKE_SYNCQT, syncqt) # e.g. qt3d, qtwayland ln -sf syncqt.pl ${D}${OE_QMAKE_PATH_QT_BINS}/syncqt + + # remove things unused in nativesdk; things are statically link + # and we just use the binaries so drop all unused files + rm -rf ${D}${includedir} ${D}${libdir} ${D}${datadir}/doc }