aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qml-execscript-plugin/qml-execscript-plugin_1.0.bb
diff options
context:
space:
mode:
authorPhong Tran <tranmanphong@gmail.com>2016-05-24 06:26:30 +0700
committerGerrit Code Review <gerrit@172.30.200.200>2016-05-29 10:39:42 +0000
commit83c4a67a5daf437f717dd519b3a85f8a803e9357 (patch)
treebe67d6d29b4f3b5dc6e8878bcaa6a3ca58bb2c5b /recipes-qt/qml-execscript-plugin/qml-execscript-plugin_1.0.bb
parenta4bb343dcb1e25a99952b3e4da887a2658b05734 (diff)
Refactoring code for installation qml libs
- Use ${libdir} instead of hardcoding /usr/lib - Change to use install command for copy files Change-Id: I4506f69c97ad223b94561fd10b97e5a406c4c4d9 Signed-off-by: Phong Tran <tranmanphong@gmail.com>
Diffstat (limited to 'recipes-qt/qml-execscript-plugin/qml-execscript-plugin_1.0.bb')
-rw-r--r--recipes-qt/qml-execscript-plugin/qml-execscript-plugin_1.0.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-qt/qml-execscript-plugin/qml-execscript-plugin_1.0.bb b/recipes-qt/qml-execscript-plugin/qml-execscript-plugin_1.0.bb
index 1f9dc6d05..dbeda2d11 100644
--- a/recipes-qt/qml-execscript-plugin/qml-execscript-plugin_1.0.bb
+++ b/recipes-qt/qml-execscript-plugin/qml-execscript-plugin_1.0.bb
@@ -15,9 +15,9 @@ EXTRA_OECONF = "--with-moc-dir=${STAGING_BINDIR_NATIVE}/qt5"
QML_LIBDIR = "${libdir}/qt5/qml"
do_install() {
- mkdir -p ${D}/usr/lib/qt5/qml/execScript/
- cp execScript/*.so ${D}/usr/lib/qt5/qml/execScript/
- cp ../git/execScript/qmldir ${D}/usr/lib/qt5/qml/execScript/
+ install -d ${D}${libdir}/qt5/qml/execScript/
+ install -m 0755 execScript/*.so ${D}${libdir}/qt5/qml/execScript/
+ install -m 0644 ../git/execScript/qmldir ${D}${libdir}/qt5/qml/execScript/
}
FILES_${PN} += "${QML_LIBDIR}/execScript/libexecscriptplugin.so"