diff options
| -rw-r--r-- | recipes-bsp/ipumm-fw/ipumm-fw_git.bb | 15 |
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" | |||
| 26 | require recipes-ti/includes/ti-paths.inc | 26 | require recipes-ti/includes/ti-paths.inc |
| 27 | require recipes-ti/includes/ti-staging.inc | 27 | require recipes-ti/includes/ti-staging.inc |
| 28 | 28 | ||
| 29 | inherit update-alternatives | ||
| 30 | |||
| 29 | DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ccsv6-native ti-ipc-rtos" | 31 | DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ccsv6-native ti-ipc-rtos" |
| 30 | 32 | ||
| 31 | export HWVERSION="ES10" | 33 | export HWVERSION="ES10" |
| @@ -53,10 +55,15 @@ do_compile() { | |||
| 53 | TARGET = "dra7-ipu2-fw.xem4" | 55 | TARGET = "dra7-ipu2-fw.xem4" |
| 54 | 56 | ||
| 55 | do_install() { | 57 | do_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 | ||
| 60 | FILES_${PN} += "${base_libdir}/firmware/${TARGET}" | 62 | ALTERNATIVE_${PN} = "dra7-ipu2-fw.xem4" |
| 63 | ALTERNATIVE_LINK_NAME[dra7-ipu2-fw.xem4] = "${base_libdir}/firmware/${TARGET}" | ||
| 64 | ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${base_libdir}/firmware/${TARGET}.${BPN}" | ||
| 65 | ALTERNATIVE_PRIORITY = "20" | ||
| 66 | |||
| 67 | FILES_${PN} += "${base_libdir}/firmware/*" | ||
| 61 | 68 | ||
| 62 | PR = "r0" | 69 | PR = "r1" |
