developer | d33b896 | 2022-11-18 14:37:27 +0800 | [diff] [blame] | 1 | SUMMARY = "Marvell Ethernet firmware files" |
| 2 | DESCRIPTION = "Firmware for Marvell AQR113C. " |
| 3 | |
| 4 | LICENSE = "CLOSED" |
| 5 | |
developer | 96ffa63 | 2023-03-29 11:55:43 +0800 | [diff] [blame] | 6 | SRC_URI = "file://Rhe-05.06-Candidate9-AQR_Mediatek_23B_P5_ID45824_LCLVER1.cld" |
developer | d33b896 | 2022-11-18 14:37:27 +0800 | [diff] [blame] | 7 | |
| 8 | S = "${WORKDIR}" |
| 9 | |
| 10 | inherit allarch |
| 11 | |
| 12 | do_install() { |
| 13 | install -d ${D}/${base_libdir}/firmware/ |
developer | 96ffa63 | 2023-03-29 11:55:43 +0800 | [diff] [blame] | 14 | install -m 644 ${WORKDIR}/Rhe-05.06-Candidate9-AQR_Mediatek_23B_P5_ID45824_LCLVER1.cld ${D}${base_libdir}/firmware/ |
developer | d33b896 | 2022-11-18 14:37:27 +0800 | [diff] [blame] | 15 | } |
| 16 | |
developer | 96ffa63 | 2023-03-29 11:55:43 +0800 | [diff] [blame] | 17 | FILES_${PN} += "${base_libdir}/firmware/Rhe-05.06-Candidate9-AQR_Mediatek_23B_P5_ID45824_LCLVER1.cld" |
developer | d33b896 | 2022-11-18 14:37:27 +0800 | [diff] [blame] | 18 | |
| 19 | # Make marvell-eth-firmware depend on all of the split-out packages. |
| 20 | python populate_packages_prepend () { |
| 21 | firmware_pkgs = oe.utils.packages_filter_out_system(d) |
| 22 | d.appendVar('RDEPENDS_marvell-eth-firmware', ' ' + ' '.join(firmware_pkgs)) |
| 23 | } |