summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-bsp/si-tools/si-tools.bb
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-10-31 10:12:37 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-10-31 10:12:37 +0300
commit6e3e2bf13f7175fd06d71f04780edb04a0363978 (patch)
treec316dfb567f56bb74b4f41fe4fff6e6ead211422 /meta-rcar-gen3-adas/recipes-bsp/si-tools/si-tools.bb
parentd3648e5b854c994c63d622406038daee48023213 (diff)
Update radio scirpts
Add radio scripts: si_fm si_scan si_preset
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-bsp/si-tools/si-tools.bb')
-rw-r--r--meta-rcar-gen3-adas/recipes-bsp/si-tools/si-tools.bb38
1 files changed, 29 insertions, 9 deletions
diff --git a/meta-rcar-gen3-adas/recipes-bsp/si-tools/si-tools.bb b/meta-rcar-gen3-adas/recipes-bsp/si-tools/si-tools.bb
index 482c78f..5db9408 100644
--- a/meta-rcar-gen3-adas/recipes-bsp/si-tools/si-tools.bb
+++ b/meta-rcar-gen3-adas/recipes-bsp/si-tools/si-tools.bb
@@ -7,18 +7,38 @@ PE = "1"
PV = "0.2"
SRC_URI = " \
- file://si-tools.tar.gz \
- file://si_init \
- file://si_firmware_update \
+ file://si-tools.tar.gz \
"
S = "${WORKDIR}/si-tools"
do_install() {
- install -d ${D}${bindir}
+ install -d ${D}${bindir}
+ install -d ${D}/lib/firmware/radio/
- install -m 0755 si_ctl ${D}${bindir}
- install -m 0755 si_flash ${D}${bindir}
- install -m 0755 ${WORKDIR}/si_init ${D}${bindir}
- install -m 0755 ${WORKDIR}/si_firmware_update ${D}${bindir}
-} \ No newline at end of file
+ install -m 755 si_ctl ${D}${bindir}
+ install -m 755 si_flash ${D}${bindir}
+ install -m 755 ${S}/scripts/si_init ${D}${bindir}
+ install -m 755 ${S}/scripts/si_firmware_update ${D}${bindir}
+ install -m 755 ${S}/scripts/si_fm ${D}${bindir}
+ install -m 755 ${S}/scripts/si_preset ${D}${bindir}
+ install -m 755 ${S}/scripts/si_scan ${D}${bindir}
+ install -m 644 ${S}/firmware/am.bif ${D}/lib/firmware/radio/
+ install -m 644 ${S}/firmware/fm.bif ${D}/lib/firmware/radio/
+ install -m 644 ${S}/firmware/dab.bif ${D}/lib/firmware/radio/
+ install -m 644 ${S}/firmware/patch.bin ${D}/lib/firmware/radio/
+}
+
+FILES_${PN} = " \
+ ${bindir}/si_ctl \
+ ${bindir}/si_flash \
+ ${bindir}/si_init \
+ ${bindir}/si_firmware_update \
+ ${bindir}/si_fm \
+ ${bindir}/si_preset \
+ ${bindir}/si_scan \
+ /lib/firmware/radio/am.bif \
+ /lib/firmware/radio/fm.bif \
+ /lib/firmware/radio/dab.bif \
+ /lib/firmware/radio/patch.bin \
+"