1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-18 02:29:32 +00:00

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@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Jacob Stiffler
2015-12-15 21:12:02 +00:00
committed by Denys Dmytriyenko
parent 7ab0b57b8f
commit aa5ff5293a

View File

@@ -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/
}