aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-02-17 16:58:14 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2014-02-17 17:48:04 -0300
commit32cee0b6d18a9e8ae2977accf2c8d32f303827d7 (patch)
treefb4a8d0fb38a1703584c010682f6478946b6bd5a
parent578657f7b6468af31ba399b02a4dac3c353db71b (diff)
nativesdk-qttools.inc: Fix installation and packaging
We must to fix the installation paths as did in nativesdk-qtbase.inc and remove the files unused from the packages. This fixes the packaging errors and allows for a successful build for SDK. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--recipes-qt/qt5/nativesdk-qttools.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-qt/qt5/nativesdk-qttools.inc b/recipes-qt/qt5/nativesdk-qttools.inc
index e9b29498..494c7b88 100644
--- a/recipes-qt/qt5/nativesdk-qttools.inc
+++ b/recipes-qt/qt5/nativesdk-qttools.inc
@@ -21,5 +21,11 @@ do_configure() {
}
do_install() {
+ # Fix install paths for all
+ find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_HOST},(INSTALL_ROOT),g"
+
oe_runmake install INSTALL_ROOT=${D}
+
+ # remove things unused in nativesdk
+ rm -rf ${D}${libdir}
}