developer | 33759cf | 2024-10-11 15:19:50 +0800 | [diff] [blame^] | 1 | SUMMARY = "Airoha Ethernet firmware files" |
| 2 | DESCRIPTION = "Firmware for Airoha 2.5G phy. " |
| 3 | |
| 4 | LICENSE = "CLOSED" |
| 5 | |
| 6 | SRC_URI = " \ |
| 7 | file://EthMD32.dm.bin \ |
| 8 | file://EthMD32.DSP.bin \ |
| 9 | " |
| 10 | S = "${WORKDIR}" |
| 11 | |
| 12 | inherit allarch |
| 13 | |
| 14 | do_install() { |
| 15 | install -d ${D}/${base_libdir}/firmware/ |
| 16 | install -m 644 ${WORKDIR}/EthMD32.dm.bin ${D}${base_libdir}/firmware/ |
| 17 | install -m 644 ${WORKDIR}/EthMD32.DSP.bin ${D}${base_libdir}/firmware/ |
| 18 | } |
| 19 | |
| 20 | FILES_${PN} += "${base_libdir}/firmware/*" |
| 21 | |
| 22 | # Make Mediatek-eth-firmware depend on all of the split-out packages. |
| 23 | python populate_packages_prepend () { |
| 24 | firmware_pkgs = oe.utils.packages_filter_out_system(d) |
| 25 | d.appendVar('RDEPENDS_mediatek-eth-firmware', ' ' + ' '.join(firmware_pkgs)) |
| 26 | } |