[meta-ti] Jacob Stiffler : ti-ipc-rtos: Install firmware to /lib/firmware

Arago Project git git at arago-project.org
Tue Dec 15 08:59:52 PST 2015


Module: meta-ti
Branch: master
Commit: aa5ff5293aa486a62d9d2b7faff87d39f5ebbddb
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=aa5ff5293aa486a62d9d2b7faff87d39f5ebbddb

Author: Jacob Stiffler <j-stiffler at ti.com>
Date:   Tue Dec 15 21:12:02 2015 +0000

ti-ipc-rtos: Install firmware to /lib/firmware

* By default libdir = /usr/lib and base_libdir = /lib
* Therefore install firmware to ${base_libdir}/firmware

Signed-off-by: Jacob Stiffler <j-stiffler at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 recipes-ti/ipc/ti-ipc-rtos_git.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes-ti/ipc/ti-ipc-rtos_git.bb b/recipes-ti/ipc/ti-ipc-rtos_git.bb
index a452dcf..5fb83d0 100644
--- a/recipes-ti/ipc/ti-ipc-rtos_git.bb
+++ b/recipes-ti/ipc/ti-ipc-rtos_git.bb
@@ -2,7 +2,7 @@ require recipes-ti/includes/ti-paths.inc
 require recipes-ti/includes/ti-staging.inc
 require ti-ipc.inc
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 DEPENDS = "ti-xdctools ti-sysbios"
 DEPENDS_append_keystone = " ti-cgt6x-native \
@@ -14,7 +14,7 @@ DEPENDS_append_omap-a15 = " ti-cgt6x-native \
 "
 
 PACKAGES =+ "${PN}-fw"
-FILES_${PN}-fw = "${libdir}/firmware/*"
+FILES_${PN}-fw = "${base_libdir}/firmware/*"
 FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}"
 
 INSANE_SKIP_${PN}-fw += "arch"
@@ -55,6 +55,6 @@ do_install() {
     install -d ${D}${IPC_INSTALL_DIR_RECIPE}
     cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE}
 
-    install -d ${D}${libdir}/firmware
-    find . -name "*.xe66" -type f | xargs -I {} install -m 0644 {} ${D}${libdir}/firmware/
+    install -d ${D}${base_libdir}/firmware
+    find . -name "*.xe66" -type f | xargs -I {} install -m 0644 {} ${D}${base_libdir}/firmware/
 }



More information about the meta-ti mailing list