OSDN Git Service

linux-firmware: take linux-firmware.git's qca99x0 boardfile
[immortalwrt/immortalwrt.git] / package / firmware / linux-firmware / qca_ath10k.mk
1 Package/ath10k-board-qca4019 = $(call Package/firmware-default,ath10k qca4019 board firmware)
2 define Package/ath10k-board-qca4019/install
3         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0
4         $(INSTALL_DATA) \
5                 $(PKG_BUILD_DIR)/ath10k/QCA4019/hw1.0/board-2.bin \
6                 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/
7 endef
8 $(eval $(call BuildPackage,ath10k-board-qca4019))
9 Package/ath10k-firmware-qca4019 = $(call Package/firmware-default,ath10k qca4019 firmware)
10 define Package/ath10k-firmware-qca4019/install
11         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0
12         $(INSTALL_DATA) \
13                 $(PKG_BUILD_DIR)/ath10k/QCA4019/hw1.0/firmware-5.bin \
14                 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/firmware-5.bin
15 endef
16 $(eval $(call BuildPackage,ath10k-firmware-qca4019))
17
18 Package/ath10k-board-qca9377 = $(call Package/firmware-default,ath10k qca9377 board firmware)
19 define Package/ath10k-board-qca9377/install
20         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9377/hw1.0
21         $(INSTALL_DATA) \
22                 $(PKG_BUILD_DIR)/ath10k/QCA9377/hw1.0/board-2.bin \
23                 $(1)/lib/firmware/ath10k/QCA9377/hw1.0/
24 endef
25 $(eval $(call BuildPackage,ath10k-board-qca9377))
26 Package/ath10k-firmware-qca9377 = $(call Package/firmware-default,ath10k qca9377 firmware,+ath10k-board-qca9377)
27 define Package/ath10k-firmware-qca9377/install
28         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9377/hw1.0
29         $(INSTALL_DATA) \
30                 $(PKG_BUILD_DIR)/ath10k/QCA9377/hw1.0/firmware-6.bin \
31                 $(1)/lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin
32 endef
33 $(eval $(call BuildPackage,ath10k-firmware-qca9377))
34
35 Package/ath10k-board-qca9887 = $(call Package/firmware-default,ath10k qca9887 board firmware)
36 define Package/ath10k-board-qca9887/install
37         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0
38         $(INSTALL_DATA) \
39                 $(PKG_BUILD_DIR)/ath10k/QCA9887/hw1.0/board.bin \
40                 $(1)/lib/firmware/ath10k/QCA9887/hw1.0/board.bin
41 endef
42 $(eval $(call BuildPackage,ath10k-board-qca9887))
43 Package/ath10k-firmware-qca9887 = $(call Package/firmware-default,ath10k qca9887 firmware,+ath10k-board-qca9887)
44 define Package/ath10k-firmware-qca9887/install
45         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0
46         $(INSTALL_DATA) \
47                 $(PKG_BUILD_DIR)/ath10k/QCA9887/hw1.0/firmware-5.bin \
48                 $(1)/lib/firmware/ath10k/QCA9887/hw1.0/firmware-5.bin
49 endef
50 $(eval $(call BuildPackage,ath10k-firmware-qca9887))
51
52 Package/ath10k-board-qca9888 = $(call Package/firmware-default,ath10k qca9888 board firmware)
53 define Package/ath10k-board-qca9888/install
54         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0
55         $(INSTALL_DATA) \
56                 $(PKG_BUILD_DIR)/ath10k/QCA9888/hw2.0/board-2.bin \
57                 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin
58 endef
59 $(eval $(call BuildPackage,ath10k-board-qca9888))
60 Package/ath10k-firmware-qca9888 = $(call Package/firmware-default,ath10k qca9888 firmware,+ath10k-board-qca9888)
61 define Package/ath10k-firmware-qca9888/install
62         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0
63         $(INSTALL_DATA) \
64                 $(PKG_BUILD_DIR)/ath10k/QCA9888/hw2.0/firmware-5.bin \
65                 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/firmware-5.bin
66 endef
67 $(eval $(call BuildPackage,ath10k-firmware-qca9888))
68
69 Package/ath10k-board-qca988x = $(call Package/firmware-default,ath10k qca988x board firmware)
70 define Package/ath10k-board-qca988x/install
71         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
72         $(INSTALL_DATA) \
73                 $(PKG_BUILD_DIR)/ath10k/QCA988X/hw2.0/board.bin \
74                 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/
75 endef
76 $(eval $(call BuildPackage,ath10k-board-qca988x))
77 Package/ath10k-firmware-qca988x = $(call Package/firmware-default,ath10k qca988x firmware,+ath10k-board-qca988x)
78 define Package/ath10k-firmware-qca988x/install
79         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
80         $(INSTALL_DATA) \
81                 $(PKG_BUILD_DIR)/ath10k/QCA988X/hw2.0/firmware-5.bin \
82                 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin
83 endef
84 $(eval $(call BuildPackage,ath10k-firmware-qca988x))
85
86 Package/ath10k-firmware-qca6174 = $(call Package/firmware-default,ath10k qca6174 firmware)
87 define Package/ath10k-firmware-qca6174/install
88         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA6174/hw2.1
89         $(INSTALL_DATA) \
90                 $(PKG_BUILD_DIR)/ath10k/QCA6174/hw2.1/board-2.bin \
91                 $(1)/lib/firmware/ath10k/QCA6174/hw2.1/
92         $(INSTALL_DATA) \
93                 $(PKG_BUILD_DIR)/ath10k/QCA6174/hw2.1/firmware-5.bin \
94                 $(1)/lib/firmware/ath10k/QCA6174/hw2.1/firmware-5.bin
95         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA6174/hw3.0
96         $(INSTALL_DATA) \
97                 $(PKG_BUILD_DIR)/ath10k/QCA6174/hw3.0/board-2.bin \
98                 $(1)/lib/firmware/ath10k/QCA6174/hw3.0/
99         $(INSTALL_DATA) \
100                 $(PKG_BUILD_DIR)/ath10k/QCA6174/hw3.0/firmware-6.bin \
101                 $(1)/lib/firmware/ath10k/QCA6174/hw3.0/firmware-6.bin
102 endef
103 $(eval $(call BuildPackage,ath10k-firmware-qca6174))
104
105 Package/ath10k-board-qca99x0 = $(call Package/firmware-default,ath10k qca99x0 board firmware)
106 define Package/ath10k-board-qca99x0/install
107         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
108         $(INSTALL_DATA) \
109                 $(PKG_BUILD_DIR)/ath10k/QCA99X0/hw2.0/board-2.bin \
110                 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board-2.bin
111 endef
112 $(eval $(call BuildPackage,ath10k-board-qca99x0))
113
114 Package/ath10k-firmware-qca99x0 = $(call Package/firmware-default,ath10k qca99x0 firmware,+ath10k-board-qca99x0)
115 define Package/ath10k-firmware-qca99x0/install
116         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
117         $(INSTALL_DATA) \
118                 $(PKG_BUILD_DIR)/ath10k/QCA99X0/hw2.0/firmware-5.bin \
119                 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/firmware-5.bin
120 endef
121 $(eval $(call BuildPackage,ath10k-firmware-qca99x0))
122
123 Package/ath10k-board-qca9984 = $(call Package/firmware-default,ath10k qca9984 board firmware)
124 define Package/ath10k-board-qca9984/install
125         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0
126         $(INSTALL_DATA) \
127                 $(PKG_BUILD_DIR)/ath10k/QCA9984/hw1.0/board-2.bin \
128                 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/board-2.bin
129 endef
130 $(eval $(call BuildPackage,ath10k-board-qca9984))
131 Package/ath10k-firmware-qca9984 = $(call Package/firmware-default,ath10k qca9984 firmware,+ath10k-board-qca9984)
132 define Package/ath10k-firmware-qca9984/install
133         $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0
134         $(INSTALL_DATA) \
135                 $(PKG_BUILD_DIR)/ath10k/QCA9984/hw1.0/firmware-5.bin \
136                 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/firmware-5.bin
137 endef
138 $(eval $(call BuildPackage,ath10k-firmware-qca9984))