ramips: updated remaining profiles to the new image building code
[openwrt/openwrt.git] / target / linux / ramips / image / rt305x-legacy.mk
1 #
2 # RT305X Profiles
3 #
4
5 # sign an image to make it work with edimax tftp recovery
6 define BuildFirmware/Edimax/squashfs
7 $(call BuildFirmware/OF,$(1),$(2),$(3),$(4))
8 if [ -e "$(call sysupname,$(1),$(2))" ]; then \
9 mkedimaximg -i $(call sysupname,$(1),$(2)) \
10 -o $(call imgname,$(1),$(2))-factory.bin \
11 -s $(5) -m $(6) -f $(7) -S $(8); \
12 fi
13 endef
14 BuildFirmware/Edimax/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3))
15
16 # Sign Poray images
17 define BuildFirmware/Poray4M/squashfs
18 $(call BuildFirmware/Default4M/$(1),$(1),$(2),$(3))
19 if [ -e "$(call sysupname,$(1),$(2))" ]; then \
20 mkporayfw -B $(3) -F 4M \
21 -f $(call sysupname,$(1),$(2)) \
22 -o $(call imgname,$(1),$(2))-factory.bin; \
23 fi
24 endef
25 BuildFirmware/Poray4M/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3))
26
27 define BuildFirmware/Poray8M/squashfs
28 $(call BuildFirmware/Default8M/$(1),$(1),$(2),$(3))
29 if [ -e "$(call sysupname,$(1),$(2))" ]; then \
30 mkporayfw -B $(3) -F 8M \
31 -f $(call sysupname,$(1),$(2)) \
32 -o $(call imgname,$(1),$(2))-factory.bin; \
33 fi
34 endef
35 BuildFirmware/Poray8M/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3))
36
37 define BuildFirmware/JCG/squashfs
38 $(call BuildFirmware/Default4M/$(1),$(1),$(2),$(3))
39 -jcgimage -o $(call imgname,$(1),$(2))-factory.bin \
40 -u $(call sysupname,$(1),$(2)) -v $(4)
41 endef
42
43 define BuildFirmware/DIR300B1/squashfs
44 $(call BuildFirmware/Default4M/$(1),$(1),$(2),$(3))
45 -mkwrgimg -s $(4) -d /dev/mtdblock/2 \
46 -i $(call sysupname,$(1),$(2)) \
47 -o $(call imgname,$(1),$(2))-factory.bin
48 endef
49 BuildFirmware/DIR300B1/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3))
50
51 define BuildFirmware/DIR615H1/squashfs
52 $(call BuildFirmware/Default4M/$(1),$(1),dir-615-h1,DIR-615-H1)
53 -mksenaofw -e $(call sysupname,$(1),dir-615-h1) \
54 -o $(call imgname,$(1),dir-615-h1)-factory.bin \
55 -r 0x218 -p 0x30 -t 3
56 endef
57 BuildFirmware/DIR615H1/initramfs=$(call BuildFirmware/OF/initramfs,$(1),dir-615-h1,DIR-615-H1)
58
59 # sign dap 1350 based images
60 dap1350_mtd_size=7667712
61 define BuildFirmware/dap1350/squashfs
62 $(call BuildFirmware/CustomFlash/$(1),$(1),$(2),$(3),$(dap1350_mtd_size))
63 -mkdapimg -s $(4) \
64 -i $(call sysupname,$(1),$(2)) \
65 -o $(call imgname,$(1),$(2))-factory.bin
66 endef
67 BuildFirmware/dap1350/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3))
68
69 define BuildFirmware/DCS930/squashfs
70 $(call BuildFirmware/Default4M/squashfs,squashfs,$(2),$(3))
71 dd if=$(KDIR)/vmlinux-$(2).bin.lzma of=$(KDIR)/image.$(2).combined bs=1048512 count=1 conv=sync
72 cat $(KDIR)/root.squashfs >> $(KDIR)/image.$(2).combined
73 $(call MkImage,lzma,$(KDIR)/image.$(2).combined,$(KDIR)/image.$(2))
74 $(call prepare_generic_squashfs,$(KDIR)/image.$(2))
75 if [ `stat -c%s "$(KDIR)/image.$(2)"` -gt $(ralink_default_fw_size_4M) ]; then \
76 echo "Warning: $(KDIR)/image.$(2) is too big" >&2; \
77 else \
78 dd if=$(KDIR)/image.$(2) of=$(KDIR)/dcs.tmp bs=64K count=5 conv=sync ;\
79 cat $(KDIR)/image.$(2) >> $(KDIR)/dcs.tmp ; \
80 dd if=$(KDIR)/dcs.tmp of=$(call imgname,$(1),$(2))-factory.bin bs=4096k count=1 conv=sync ;\
81 $(STAGING_DIR_HOST)/bin/mkdcs932 $(call imgname,$(1),$(2))-factory.bin ; \
82 fi
83 endef
84 BuildFirmware/DCS930/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3))
85
86 BuildFirmware/HLKRM04/squashfs=$(call BuildFirmware/Default4M/squashfs,$(1),$(2),$(3),$(4))
87 define BuildFirmware/HLKRM04/initramfs
88 $(call BuildFirmware/OF/initramfs,$(1),$(2),$(3),$(4))
89 mkhilinkfw -e -i$(call imgname,$(1),$(2))-uImage.bin -o $(call imgname,$(1),$(2))-factory.bin;
90 endef
91
92 # sign Buffalo images
93 define BuildFirmware/Buffalo
94 if [ -e "$(call sysupname,$(1),$(2))" ]; then \
95 buffalo-enc -p $(3) -v 1.76 \
96 -i $(KDIR)/vmlinux-$(2).uImage \
97 -o $(KDIR)/vmlinux-$(2).uImage.enc; \
98 buffalo-enc -p $(3) -v 1.76 \
99 -i $(KDIR)/root.$(1) \
100 -o $(KDIR)/root.$(2).enc; \
101 buffalo-tag -b $(3) -p $(3) -a ram -v 1.76 -m 1.01 \
102 -l mlang8 -f 1 -r EU \
103 -i $(KDIR)/vmlinux-$(2).uImage.enc \
104 -i $(KDIR)/root.$(2).enc \
105 -o $(call imgname,$(1),$(2))-factory-EU.bin; \
106 fi
107 endef
108
109 # FIXME: this looks broken
110 buffalo_whrg300n_mtd_size=3801088
111 define BuildFirmware/WHRG300N/squashfs
112 $(call BuildFirmware/Default4M/$(1),$(1),whr-g300n,WHR-G300N)
113 # the following line has a bad argument 3 ... the old Makefile was already broken
114 $(call BuildFirmware/Buffalo,$(1),whr-g300n,whr-g300n)
115 if [ -e "$(call sysupname,$(1),$(2))" ]; then \
116 ( \
117 echo -n -e "# Airstation FirmWare\nrun u_fw\nreset\n\n" | \
118 dd bs=512 count=1 conv=sync; \
119 dd if=$(call sysupname,$(1),whr-g300n); \
120 ) > $(KDIR)/whr-g300n-tftp.tmp && \
121 buffalo-tftp -i $(KDIR)/whr-g300n-tftp.tmp \
122 -o $(call imgname,$(1),whr-g300n)-tftp.bin; \
123 fi
124 endef
125 BuildFirmware/WHRG300N/initramfs=$(call BuildFirmware/OF/initramfs,$(1),whr-g300n,WHR-G300N)
126
127 kernel_size_wl341v3=917504
128 rootfs_size_wl341v3=2949120
129 define BuildFirmware/WL-341V3/squashfs
130 $(call BuildFirmware/Default4M/$(1),$(1),wl-341v3,WL-341V3)
131 # This code looks broken and really needs to be converted to C
132 if [ -e "$(call sysupname,$(1),$(2))" ]; then \
133 ( \
134 dd if=/dev/zero bs=195936 count=1; \
135 echo "1.01"; \
136 dd if=/dev/zero bs=581 count=1; \
137 echo -n -e "\x73\x45\x72\x43\x6F\x4D\x6D\x00\x01\x00\x00\x59\x4E\x37\x95\x58\x10\x00\x20\x00\x28\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x03\x00\x00\x80\x00\x00\x00\x00\x03\x00\x00\x10\x12\x00\x00\x00\x10\x73\x45\x72\x43\x6F\x4D\x6D"; \
138 dd if=/dev/zero bs=65552 count=1; \
139 dd if=$(KDIR)/vmlinux-$(2).uImage bs=$(kernel_size_wl341v3) conv=sync; \
140 dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
141 dd if=/dev/zero bs=`expr 4194304 - 262144 - 16 - $(kernel_size_wl341v3) - \( \( \( \`stat -c%s $(KDIR)/root.$(1)\` / 65536 \) + 1 \) \* 65536 \)` count=1; \
142 echo -n -e "\x11\x03\x80\x00\x10\x12\x90\xF7\x65\x52\x63\x4F\x6D\x4D\x00\x00"; \
143 ) > $(call imgname,$(1),$(2))-factory.bin; \
144 fi
145 endef
146 BuildFirmware/WL-341V3/initramfs=$(call BuildFirmware/OF/initramfs,$(1),wl-341v3,WL-341V3)
147
148 define BuildFirmware/WNCE2001/squashfs
149 $(call BuildFirmware/Default4M/$(1),$(1),$(2),$(3))
150 -mkdapimg -s RT3052-AP-WNCE2001-3 -r WW -v 1.0.0.99 \
151 -i $(call sysupname,$(1),$(2)) \
152 -o $(call imgname,$(1),$(2))-factory-worldwide.bin
153 -mkdapimg -s RT3052-AP-WNCE2001-3 -r NA -v 1.0.0.99 \
154 -i $(call sysupname,$(1),$(2)) \
155 -o $(call imgname,$(1),$(2))-factory-northamerica.bin
156 endef
157 BuildFirmware/WNCE2001/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3))
158
159
160
161 define BuildFirmware/UIMAGE_8M
162 $(call MkCombineduImage,$(1),$(2),$(call mkcmdline,$(3),$(4),$(5)) $(call mkmtd/$(6),$(mtdlayout_8M)),$(kernel_size_8M),$(rootfs_size_8M),$(7))
163 endef
164 define Image/Build/Profile/ALL02393G
165 $(call Image/Build/Template/$(image_type)/$(1),UIMAGE_8M,all0239-3g,ALL0239-3G,ttyS1,57600,phys)
166 endef
167
168 Image/Build/Profile/DIR610A1=$(call BuildFirmware/Seama/$(1),$(1),dir-610-a1,DIR-610-A1,wrgn59_dlob.hans_dir610,$(ralink_default_fw_size_4M))
169 edimax_3g6200n_mtd_size=3735552
170 Image/Build/Profile/3G6200N=$(call BuildFirmware/Edimax/$(1),$(1),3g-6200n,3G-6200N,$(edimax_3g6200n_mtd_size),CSYS,3G62,0x50000,0xc0000)
171 Image/Build/Profile/3G6200NL=$(call BuildFirmware/Edimax/$(1),$(1),3g-6200nl,3G-6200NL,$(edimax_3g6200n_mtd_size),CSYS,3G62,0x50000,0xc0000)
172 Image/Build/Profile/3G300M=$(call BuildFirmware/CustomFlashFactory/$(1),$(1),3g300m,3G300M,$(ralink_default_fw_size_4M),3G150M_SPI Kernel Image,factory)
173 Image/Build/Profile/A5-V11=$(call BuildFirmware/Poray4M/$(1),$(1),a5-v11,A5-V11)
174 Image/Build/Profile/ALL0256N=$(call BuildFirmware/DefaultDualSize/$(1),$(1),all0256n,ALL0256N)
175 Image/Build/Profile/AWM002EVB=$(call BuildFirmware/DefaultDualSize/$(1),$(1),awm002-evb,AWM002-EVB)
176 broadway_mtd_size=7929856
177 Image/Build/Profile/BROADWAY=$(call BuildFirmware/CustomFlashFactory/$(1),$(1),broadway,BROADWAY,$(broadway_mtd_size),Broadway Kernel Image,factory)
178 Image/Build/Profile/JHR-N805R=$(call BuildFirmware/JCG/$(1),$(1),jhr-n805r,JHR-N805R,29.24)
179 Image/Build/Profile/JHR-N825R=$(call BuildFirmware/JCG/$(1),$(1),jhr-n825r,JHR-N825R,23.24)
180 Image/Build/Profile/JHR-N926R=$(call BuildFirmware/JCG/$(1),$(1),jhr-n926r,JHR-N926R,25.24)
181 Image/Build/Profile/DIR-300-B1=$(call BuildFirmware/DIR300B1/$(1),$(1),dir-300-b1,DIR-300-B1,wrgn23_dlwbr_dir300b)
182 Image/Build/Profile/DIR-600-B1=$(call BuildFirmware/DIR300B1/$(1),$(1),dir-600-b1,DIR-600-B1,wrgn23_dlwbr_dir600b)
183 Image/Build/Profile/DIR-600-B2=$(call BuildFirmware/DIR300B1/$(1),$(1),dir-600-b2,DIR-600-B2,wrgn23_dlwbr_dir600b)
184 Image/Build/Profile/DIR-615-D=$(call BuildFirmware/DIR300B1/$(1),$(1),dir-615-d,DIR-615-D,wrgn23_dlwbr_dir615d)
185 Image/Build/Profile/DIR615H1=$(call BuildFirmware/DIR615H1/$(1),$(1))
186 Image/Build/Profile/DAP1350=$(call BuildFirmware/dap1350/$(1),$(1),dap-1350,DAP-1350,RT3052-AP-DAP1350-3)
187 Image/Build/Profile/DAP1350WW=$(call BuildFirmware/dap1350/$(1),$(1),dap-1350WW,DAP-1350,RT3052-AP-DAP1350WW-3)
188 Image/Build/Profile/DCS930=$(call BuildFirmware/DCS930/$(1),$(1),dcs-930,DCS-930)
189 Image/Build/Profile/DCS930LB1=$(call BuildFirmware/DCS930/$(1),$(1),dcs-930l-b1,DCS-930L-B1)
190 Image/Build/Profile/FONERA20N=$(call BuildFirmware/Edimax/$(1),$(1),fonera20n,FONERA20N,$(ralink_default_fw_size_8M),RSDK,NL1T,0x50000,0xc0000)
191 Image/Build/Profile/HLKRM04=$(call BuildFirmware/HLKRM04/$(1),$(1),hlk-rm04,HLKRM04,HLK-RM04)
192 Image/Build/Profile/M3=$(call BuildFirmware/Poray4M/$(1),$(1),m3,M3)
193 Image/Build/Profile/M4=$(call BuildFirmware/PorayDualSize/$(1),$(1),m4,M4)
194 Image/Build/Profile/MZKW300NH2=$(call BuildFirmware/Edimax/$(1),$(1),mzk-w300nh2,MZK-W300NH2,$(mzkw300nh2_mtd_size),CSYS,RN52,0x50000,0xc0000)
195 nw718_mtd_size=3801088
196 Image/Build/Profile/NW718=$(call BuildFirmware/CustomFlashFactory/$(1),$(1),nw718m,NW718,$(nw718_mtd_size),ARA1B4NCRNW718;1,factory)
197 Image/Build/Profile/PX-4885=$(call BuildFirmware/DefaultDualSize/$(1),$(1),px-4885,PX-4885)
198 Image/Build/Profile/W150M=$(call BuildFirmware/CustomFlashFactory/$(1),$(1),w150m,W150M,$(ralink_default_fw_size_4M),W150M Kernel Image,factory)
199 Image/Build/Profile/W306R_V20=$(call BuildFirmware/CustomFlashFactory/$(1),$(1),w306r-v20,W306R_V20,$(ralink_default_fw_size_4M),linkn Kernel Image,factory)
200 Image/Build/Profile/WL-341V3=$(call BuildFirmware/WL-341V3/$(1),$(1))
201 Image/Build/Profile/WNCE2001=$(call BuildFirmware/WNCE2001/$(1),$(1),wnce2001,WNCE2001)
202 Image/Build/Profile/WR512-3GN=$(call BuildFirmware/DefaultDualSize/$(1),$(1),wr512-3ng,WR512-3GN)
203 Image/Build/Profile/WT1520=$(call BuildFirmware/PorayDualSize/$(1),$(1),wt1520,WT1520)
204 Image/Build/Profile/X5=$(call BuildFirmware/Poray8M/$(1),$(1),x5,X5)
205 Image/Build/Profile/X8=$(call BuildFirmware/Poray8M/$(1),$(1),x8,X8)
206 Image/Build/Profile/WHRG300N=$(call BuildFirmware/WHRG300N/$(1),$(1))
207
208 define LegacyDevice/ALL02393G
209 DEVICE_TITLE := Allnet ALL0239-3G
210 DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev
211 endef
212 LEGACY_DEVICES += ALL02393G
213
214
215 define LegacyDevice/DIR610A1
216 DEVICE_TITLE := D-Link DIR-610 A1
217 DEVICE_PACKAGES := kmod-ledtrig-netdev kmod-ledtrig-timer
218 endef
219 LEGACY_DEVICES += DIR610A1
220
221
222 define LegacyDevice/3G6200N
223 DEVICE_TITLE := Edimax 3g-6200n
224 endef
225 LEGACY_DEVICES += 3G6200N
226
227
228 define LegacyDevice/3G6200NL
229 DEVICE_TITLE := Edimax 3g-6200nl
230 endef
231 LEGACY_DEVICES += 3G6200NL
232
233
234 define LegacyDevice/3G300M
235 DEVICE_TITLE := Tenda 3G300M
236 DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev
237 endef
238 LEGACY_DEVICES += 3G300M
239
240
241 define LegacyDevice/A5-V11
242 DEVICE_TITLE := A5-V11
243 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2
244 endef
245 LEGACY_DEVICES += A5-V11
246
247
248 define LegacyDevice/ALL0256N
249 DEVICE_TITLE := Allnet ALL0256N
250 DEVICE_PACKAGES := rssileds
251 endef
252 LEGACY_DEVICES += ALL0256N
253
254
255 define LegacyDevice/AWM002EVB
256 DEVICE_TITLE := AsiaRF AWM002-EVB
257 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \
258 kmod-i2c-core kmod-i2c-gpio
259 endef
260 LEGACY_DEVICES += AWM002EVB
261
262
263 define LegacyDevice/BROADWAY
264 DEVICE_TITLE := Hauppauge Broadway
265 DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev
266 endef
267 LEGACY_DEVICES += BROADWAY
268
269
270 define LegacyDevice/JHR-N805R
271 DEVICE_TITLE := JCG JHR-N805R
272 endef
273 LEGACY_DEVICES += JHR-N805R
274
275
276 define LegacyDevice/JHR-N825R
277 DEVICE_TITLE := JCG JHR-N825R
278 endef
279 LEGACY_DEVICES += JHR-N825R
280
281
282 define LegacyDevice/JHR-N926R
283 DEVICE_TITLE := JCG JHR-N926R
284 endef
285 LEGACY_DEVICES += JHR-N926R
286
287
288 define LegacyDevice/DIR-300-B1
289 DEVICE_TITLE := D-Link DIR-300 B1
290 endef
291 LEGACY_DEVICES += DIR-300-B1
292
293
294 define LegacyDevice/DIR-600-B1
295 DEVICE_TITLE := D-Link DIR-600 B1
296 endef
297 LEGACY_DEVICES += DIR-600-B1
298
299
300 define LegacyDevice/DIR-600-B2
301 DEVICE_TITLE := D-Link DIR-600 B2
302 endef
303 LEGACY_DEVICES += DIR-600-B2
304
305
306 define LegacyDevice/DIR-615-D
307 DEVICE_TITLE := D-Link DIR-615 D
308 endef
309 LEGACY_DEVICES += DIR-615-D
310
311
312 define LegacyDevice/DIR615H1
313 DEVICE_TITLE := D-Link DIR-615 H1
314 endef
315 LEGACY_DEVICES += DIR615H1
316
317
318 define LegacyDevice/DAP1350
319 DEVICE_TITLE := D-Link DAP-1350
320 endef
321 LEGACY_DEVICES += DAP1350
322
323
324 define LegacyDevice/DAP1350WW
325 DEVICE_TITLE := D-Link DAP-1350HW
326 endef
327 LEGACY_DEVICES += DAP1350WW
328
329
330 define LegacyDevice/DCS930
331 DEVICE_TITLE := D-Link DCS-930
332 DEVICE_PACKAGES := kmod-video-core kmod-video-uvc kmod-sound-core kmod-usb-audio kmod-usb-core kmod-usb-dwc2
333 endef
334 LEGACY_DEVICES += DCS930
335
336
337 define LegacyDevice/DCS930LB1
338 DEVICE_TITLE := D-Link DCS-930L B1
339 DEVICE_PACKAGES := kmod-video-core kmod-video-uvc kmod-sound-core kmod-usb-audio kmod-usb-core kmod-usb-ohci kmod-usb2
340 endef
341 LEGACY_DEVICES += DCS930LB1
342
343
344 define LegacyDevice/FONERA20N
345 DEVICE_TITLE := Fonera 2.0N
346 DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev
347 endef
348 LEGACY_DEVICES += FONERA20N
349
350
351 define LegacyDevice/HLKRM04
352 DEVICE_TITLE := HILINK HLK-RM04
353 endef
354 LEGACY_DEVICES += HLKRM04
355
356
357 define LegacyDevice/M3
358 DEVICE_TITLE := Poray M3
359 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
360 endef
361 LEGACY_DEVICES += M3
362
363
364 define LegacyDevice/M4
365 DEVICE_TITLE := Poray M4
366 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
367 endef
368 LEGACY_DEVICES += M4
369
370
371 define LegacyDevice/MZKW300NH2
372 DEVICE_TITLE := Planex MZK-W300NH2
373 endef
374 LEGACY_DEVICES += MZKW300NH2
375
376
377 define LegacyDevice/NW718
378 DEVICE_TITLE := Netcore NW718
379 endef
380 LEGACY_DEVICES += NW718
381
382
383 define LegacyDevice/PX-4885
384 DEVICE_TITLE := 7Links PX-4885
385 DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev kmod-leds-gpio
386 endef
387 LEGACY_DEVICES += PX-4885
388
389
390 define LegacyDevice/W150M
391 DEVICE_TITLE := Tenda W150M
392 endef
393 LEGACY_DEVICES += W150M
394
395
396 define LegacyDevice/W306R_V20
397 DEVICE_TITLE := Tenda W306R V2.0
398 endef
399 LEGACY_DEVICES += W306R_V20
400
401
402 define LegacyDevice/WL-341V3
403 DEVICE_TITLE := Sitecom WL-341 v3
404 endef
405 LEGACY_DEVICES += WL-341V3
406
407
408 define LegacyDevice/WNCE2001
409 DEVICE_TITLE := Netgear WNCE2001
410 endef
411 LEGACY_DEVICES += WNCE2001
412
413
414 define LegacyDevice/WR512-3GN
415 DEVICE_TITLE := WR512-3GN-like router
416 endef
417 LEGACY_DEVICES += WR512-3GN
418
419
420 define LegacyDevice/WT1520
421 DEVICE_TITLE := Nexx WT1520
422 endef
423 LEGACY_DEVICES += WT1520
424
425
426 define LegacyDevice/X5
427 DEVICE_TITLE := Poray X5/X6
428 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
429 endef
430 LEGACY_DEVICES += X5
431
432
433 define LegacyDevice/X8
434 DEVICE_TITLE := Poray X8
435 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
436 endef
437 LEGACY_DEVICES += X8
438
439
440 define LegacyDevice/WHRG300N
441 DEVICE_TITLE := Buffalo WHR-G300N
442 endef
443 LEGACY_DEVICES += WHRG300N
444
445