summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/ipumm-fw/ipumm-fw_git.bb15
1 files changed, 11 insertions, 4 deletions
diff --git a/recipes-bsp/ipumm-fw/ipumm-fw_git.bb b/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
index 022d3074..f4155998 100644
--- a/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
+++ b/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
@@ -26,6 +26,8 @@ PV = "3.00.10.00"
26require recipes-ti/includes/ti-paths.inc 26require recipes-ti/includes/ti-paths.inc
27require recipes-ti/includes/ti-staging.inc 27require recipes-ti/includes/ti-staging.inc
28 28
29inherit update-alternatives
30
29DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ccsv6-native ti-ipc-rtos" 31DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ccsv6-native ti-ipc-rtos"
30 32
31export HWVERSION="ES10" 33export HWVERSION="ES10"
@@ -53,10 +55,15 @@ do_compile() {
53TARGET = "dra7-ipu2-fw.xem4" 55TARGET = "dra7-ipu2-fw.xem4"
54 56
55do_install() { 57do_install() {
56 mkdir -p ${D}${base_libdir}/firmware 58 install -d ${D}${base_libdir}/firmware
57 cp ${S}/${TARGET} ${D}${base_libdir}/firmware/${TARGET} 59 install -m 0644 ${S}/${TARGET} ${D}${base_libdir}/firmware/${TARGET}.${BPN}
58} 60}
59 61
60FILES_${PN} += "${base_libdir}/firmware/${TARGET}" 62ALTERNATIVE_${PN} = "dra7-ipu2-fw.xem4"
63ALTERNATIVE_LINK_NAME[dra7-ipu2-fw.xem4] = "${base_libdir}/firmware/${TARGET}"
64ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${base_libdir}/firmware/${TARGET}.${BPN}"
65ALTERNATIVE_PRIORITY = "20"
66
67FILES_${PN} += "${base_libdir}/firmware/*"
61 68
62PR = "r0" 69PR = "r1"