From 83c4a67a5daf437f717dd519b3a85f8a803e9357 Mon Sep 17 00:00:00 2001 From: Phong Tran Date: Tue, 24 May 2016 06:26:30 +0700 Subject: 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 --- recipes-automotive/ambdbusaccess/ambdbusaccess_0.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-automotive/ambdbusaccess/ambdbusaccess_0.1.bb') diff --git a/recipes-automotive/ambdbusaccess/ambdbusaccess_0.1.bb b/recipes-automotive/ambdbusaccess/ambdbusaccess_0.1.bb index c54e28cc..e804113d 100644 --- a/recipes-automotive/ambdbusaccess/ambdbusaccess_0.1.bb +++ b/recipes-automotive/ambdbusaccess/ambdbusaccess_0.1.bb @@ -17,8 +17,8 @@ RPROVIDES_${PN} = "ambdbusaccess" inherit qmake5 do_install () { - mkdir -p ${D}/usr/lib/qt5/qml/Automotive/ - cp ambdbusaccess ${D}/usr/lib/qt5/qml/Automotive/ + install -d ${D}${libdir}/qt5/qml/Automotive/ + install -m 0755 ambdbusaccess ${D}${libdir}/qt5/qml/Automotive/ } FILES_${PN} += "${libdir}/qt5/qml/Automotive/ambdbusaccess" -- cgit 1.2.3-korg