aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware/linux-firmware/mediatek.mk
blob: 77f3365f275ec938cac56249aec2d75f3dd0d37d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Package/mt7601u-firmware = $(call Package/firmware-default,MediaTek MT7601U firmware)
define Package/mt7601u-firmware/install
	$(INSTALL_DIR) $(1)/lib/firmware/mediatek
	$(INSTALL_DATA) \
		$(PKG_BUILD_DIR)/mediatek/mt7601u.bin \
		$(1)/lib/firmware/mediatek
endef
$(eval $(call BuildPackage,mt7601u-firmware))

Package/rt2800-pci-firmware = $(call Package/firmware-default,Ralink RT28xx/3xxx PCI/SoC firmware)
define Package/rt2800-pci-firmware/install
	$(INSTALL_DIR) $(1)/lib/firmware
	$(INSTALL_DATA) \
		$(PKG_BUILD_DIR)/rt2860.bin \
		$(PKG_BUILD_DIR)/rt3290.bin \
		$(1)/lib/firmware
endef
$(eval $(call BuildPackage,rt2800-pci-firmware))

Package/rt2800-usb-firmware = $(call Package/firmware-default,Ralink RT28xx/3xxx USB firmware)
define Package/rt2800-usb-firmware/install
	$(INSTALL_DIR) $(1)/lib/firmware
	$(INSTALL_DATA) $(PKG_BUILD_DIR)/rt2870.bin $(1)/lib/firmware/
endef
$(eval $(call BuildPackage,rt2800-usb-firmware))

Package/rt61-pci-firmware = $(call Package/firmware-default,Ralink RT2561 firmware)
define Package/rt61-pci-firmware/install
	$(INSTALL_DIR) $(1)/lib/firmware
	$(INSTALL_DATA) \
		$(PKG_BUILD_DIR)/rt2561.bin \
		$(PKG_BUILD_DIR)/rt2561s.bin \
		$(PKG_BUILD_DIR)/rt2661.bin \
		$(1)/lib/firmware/
endef
$(eval $(call BuildPackage,rt61-pci-firmware))

Package/rt73-usb-firmware = $(call Package/firmware-default,Ralink RT2573 firmware)
define Package/rt73-usb-firmware/install
	$(INSTALL_DIR) $(1)/lib/firmware
	$(INSTALL_DATA) $(PKG_BUILD_DIR)/rt73.bin $(1)/lib/firmware/
endef
$(eval $(call BuildPackage,rt73-usb-firmware))

Package/mt7622bt-firmware = $(call Package/firmware-default,mt7622bt firmware)
define Package/mt7622bt-firmware/install
	$(INSTALL_DIR) $(1)/lib/firmware/mediatek
	$(INSTALL_DATA) \
		$(PKG_BUILD_DIR)/mediatek/mt7622pr2h.bin \
		$(1)/lib/firmware/mediatek
endef
$(eval $(call BuildPackage,mt7622bt-firmware))