blob: 8d6a831f896d1fcac269627da8c22b6037dd429e [file] [log] [blame]
developer15a43312022-04-12 11:23:23 +08001FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
2
3SRC_URI += " \
4 file://mt76 \
5 "
6
7do_install_append () {
8 install -d ${D}/${base_libdir}/firmware/mediatek/
9
10 install -m 644 ${WORKDIR}/mt76/firmware/mt7915_rom_patch.bin ${D}${base_libdir}/firmware/mediatek/
11 install -m 644 ${WORKDIR}/mt76/firmware/mt7915_wa.bin ${D}${base_libdir}/firmware/mediatek/
12 install -m 644 ${WORKDIR}/mt76/firmware/mt7915_wm.bin ${D}${base_libdir}/firmware/mediatek/
13 install -m 644 ${WORKDIR}/mt76/firmware/mt7915_eeprom.bin ${D}${base_libdir}/firmware/mediatek/
14 install -m 644 ${WORKDIR}/mt76/firmware/mt7915_eeprom_dbdc.bin ${D}${base_libdir}/firmware/mediatek/
15
16 install -m 644 ${WORKDIR}/mt76/firmware/mt7986_rom_patch.bin ${D}${base_libdir}/firmware/mediatek/
17 install -m 644 ${WORKDIR}/mt76/firmware/mt7986_rom_patch_mt7975.bin ${D}${base_libdir}/firmware/mediatek/
18 install -m 644 ${WORKDIR}/mt76/firmware/mt7986_wa.bin ${D}${base_libdir}/firmware/mediatek/
19 install -m 644 ${WORKDIR}/mt76/firmware/mt7986_wm.bin ${D}${base_libdir}/firmware/mediatek/
20 install -m 644 ${WORKDIR}/mt76/firmware/mt7986_wm_mt7975.bin ${D}${base_libdir}/firmware/mediatek/
21 install -m 644 ${WORKDIR}/mt76/firmware/mt7986_eeprom_mt7975_dual.bin ${D}${base_libdir}/firmware/mediatek/
22 install -m 644 ${WORKDIR}/mt76/firmware/mt7986_eeprom_mt7976_dbdc.bin ${D}${base_libdir}/firmware/mediatek/
23 install -m 644 ${WORKDIR}/mt76/firmware/mt7986_eeprom_mt7976.bin ${D}${base_libdir}/firmware/mediatek/
24 install -m 644 ${WORKDIR}/mt76/firmware/mt7986_eeprom_mt7976_dual.bin ${D}${base_libdir}/firmware/mediatek/
25
26}
27
28PACKAGES =+ "${PN}-mt76"
29
30FILES_${PN}-mt76 += " \
31 ${base_libdir}/firmware/mediatek/mt7915_rom_patch.bin \
32 ${base_libdir}/firmware/mediatek/mt7915_wa.bin \
33 ${base_libdir}/firmware/mediatek/mt7915_wm.bin \
34 ${base_libdir}/firmware/mediatek/mt7915_eeprom.bin \
35 ${base_libdir}/firmware/mediatek/mt7915_eeprom_dbdc.bin \
36 ${base_libdir}/firmware/mediatek/mt7986_rom_patch.bin\
37 ${base_libdir}/firmware/mediatek/mt7986_rom_patch_mt7975.bin \
38 ${base_libdir}/firmware/mediatek/mt7986_wa.bin \
39 ${base_libdir}/firmware/mediatek/mt7986_wm.bin \
40 ${base_libdir}/firmware/mediatek/mt7986_wm_mt7975.bin \
41 ${base_libdir}/firmware/mediatek/mt7986_eeprom_mt7975_dual.bin \
42 ${base_libdir}/firmware/mediatek/mt7986_eeprom_mt7976_dbdc.bin \
43 ${base_libdir}/firmware/mediatek/mt7986_eeprom_mt7976.bin \
44 ${base_libdir}/firmware/mediatek/mt7986_eeprom_mt7976_dual.bin \
45 "