summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-bsp/si-tools/si-tools.bb
diff options
context:
space:
mode:
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 \
+"