diff options
author | Tom Rini <trini@konsulko.com> | 2017-12-19 15:07:39 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-12-19 15:07:39 -0500 |
commit | 9ae3b81724f87dcc1f5cbd618c472e0cf79b2791 (patch) | |
tree | d3d1e6ac479ba64a78dcf16e521898a44ed08878 /meta-rcar-gen3-adas/recipes-bsp/si-tools/si-tools.bb | |
parent | 592c4aca65cc41ea9e5757084ae1d488d2bbd8b0 (diff) | |
parent | eb675727a6bfdee2ba7dd36644403163f9d905e2 (diff) |
Merge branch 'pyro' into eel
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.bb | 46 |
1 files changed, 46 insertions, 0 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 new file mode 100644 index 0000000..99347e5 --- /dev/null +++ b/meta-rcar-gen3-adas/recipes-bsp/si-tools/si-tools.bb @@ -0,0 +1,46 @@ +SUMMARY = "Tools for si46xx AM/FM/DAB radio chip" +SECTION = "multimedia" + +LICENSE = "CLOSED" + +PE = "1" +PV = "0.2" + +SRC_URI = " \ + file://si-tools.tar.gz \ +" + +S = "${WORKDIR}/si-tools" + +EXTRA_OEMAKE_append = " 'LDFLAGS=${LDFLAGS}'" + +do_install() { + install -d ${D}${bindir} + install -d ${D}/lib/firmware/radio/ + + 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 \ +" |