[oe] [meta-qt5][PATCH 2/3] qtbase: Remove examples.pro file from packages

Otavio Salvador otavio at ossystems.com.br
Mon May 26 14:46:48 UTC 2014


The examples.pro file is useless as we don't deploy the
source code. Remove it from the packages.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
 recipes-qt/qt5/qtbase.inc |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc
index 1a25aa4..2c32907 100644
--- a/recipes-qt/qt5/qtbase.inc
+++ b/recipes-qt/qt5/qtbase.inc
@@ -221,6 +221,9 @@ do_install_append() {
     if [ ! -d ${D}/${OE_QMAKE_PATH_LIBS}/fonts ]; then
         cp -a ${S}/lib/fonts ${D}/${OE_QMAKE_PATH_LIBS}
     fi
+
+    # Remove example.pro file as it is useless
+    rm ${D}${OE_QMAKE_PATH_EXAMPLES}/examples.pro	
 }
 
 PACKAGES =. " \
-- 
1.7.10.4




More information about the Openembedded-devel mailing list