6 define BuildFirmware
/Poray4M
/squashfs
7 $(call BuildFirmware
/Default4M
/$(1),$(1),$(2),$(3))
8 if
[ -e
"$(call sysupname,$(1),$(2))" ]; then \
9 mkporayfw
-B
$(3) -F
4M \
10 -f
$(call sysupname
,$(1),$(2)) \
11 -o
$(call imgname
,$(1),$(2))-factory.bin
; \
14 BuildFirmware
/Poray4M
/initramfs
=$(call BuildFirmware
/OF
/initramfs
,$(1),$(2),$(3))
16 define BuildFirmware
/Poray8M
/squashfs
17 $(call BuildFirmware
/Default8M
/$(1),$(1),$(2),$(3))
18 if
[ -e
"$(call sysupname,$(1),$(2))" ]; then \
19 mkporayfw
-B
$(3) -F
8M \
20 -f
$(call sysupname
,$(1),$(2)) \
21 -o
$(call imgname
,$(1),$(2))-factory.bin
; \
24 BuildFirmware
/Poray8M
/initramfs
=$(call BuildFirmware
/OF
/initramfs
,$(1),$(2),$(3))
26 define BuildFirmware
/JCG
/squashfs
27 $(call BuildFirmware
/Default4M
/$(1),$(1),$(2),$(3))
28 -jcgimage
-o
$(call imgname
,$(1),$(2))-factory.bin \
29 -u
$(call sysupname
,$(1),$(2)) -v
$(4)
32 define BuildFirmware
/DIR300B1
/squashfs
33 $(call BuildFirmware
/Default4M
/$(1),$(1),$(2),$(3))
34 -mkwrgimg
-s
$(4) -d
/dev
/mtdblock
/2 \
35 -i
$(call sysupname
,$(1),$(2)) \
36 -o
$(call imgname
,$(1),$(2))-factory.bin
38 BuildFirmware
/DIR300B1
/initramfs
=$(call BuildFirmware
/OF
/initramfs
,$(1),$(2),$(3))
40 # sign dap 1350 based images
41 dap1350_mtd_size
=7667712
42 define BuildFirmware
/dap1350
/squashfs
43 $(call BuildFirmware
/CustomFlash
/$(1),$(1),$(2),$(3),$(dap1350_mtd_size
))
45 -i
$(call sysupname
,$(1),$(2)) \
46 -o
$(call imgname
,$(1),$(2))-factory.bin
48 BuildFirmware
/dap1350
/initramfs
=$(call BuildFirmware
/OF
/initramfs
,$(1),$(2),$(3))
50 define BuildFirmware
/DCS930
/squashfs
51 $(call BuildFirmware
/Default4M
/squashfs
,squashfs
,$(2),$(3))
52 dd if
=$(KDIR
)/vmlinux-
$(2).bin.lzma of
=$(KDIR
)/image.
$(2).combined bs
=1048512 count
=1 conv
=sync
53 cat
$(KDIR
)/root.squashfs
>> $(KDIR
)/image.
$(2).combined
54 $(call MkImage
,lzma
,$(KDIR
)/image.
$(2).combined
,$(KDIR
)/image.
$(2))
55 $(call prepare_generic_squashfs
,$(KDIR
)/image.
$(2))
56 if
[ `stat -c%s "$(KDIR)/image.$(2)"` -gt
$(ralink_default_fw_size_4M
) ]; then \
57 echo
"Warning: $(KDIR)/image.$(2) is too big" >&2; \
59 dd if
=$(KDIR
)/image.
$(2) of
=$(KDIR
)/dcs.tmp bs
=64K count
=5 conv
=sync
;\
60 cat
$(KDIR
)/image.
$(2) >> $(KDIR
)/dcs.tmp
; \
61 dd if
=$(KDIR
)/dcs.tmp of
=$(call imgname
,$(1),$(2))-factory.bin bs
=4096k count
=1 conv
=sync
;\
62 $(STAGING_DIR_HOST
)/bin
/mkdcs932
$(call imgname
,$(1),$(2))-factory.bin
; \
65 BuildFirmware
/DCS930
/initramfs
=$(call BuildFirmware
/OF
/initramfs
,$(1),$(2),$(3))
67 BuildFirmware
/HLKRM04
/squashfs
=$(call BuildFirmware
/Default4M
/squashfs
,$(1),$(2),$(3),$(4))
68 define BuildFirmware
/HLKRM04
/initramfs
69 $(call BuildFirmware
/OF
/initramfs
,$(1),$(2),$(3),$(4))
70 mkhilinkfw
-e
-i
$(call imgname
,$(1),$(2))-uImage.bin
-o
$(call imgname
,$(1),$(2))-factory.bin
;
74 define BuildFirmware
/Buffalo
75 if
[ -e
"$(call sysupname,$(1),$(2))" ]; then \
76 buffalo-enc
-p
$(3) -v
1.76 \
77 -i
$(KDIR
)/vmlinux-
$(2).uImage \
78 -o
$(KDIR
)/vmlinux-
$(2).uImage.enc
; \
79 buffalo-enc
-p
$(3) -v
1.76 \
80 -i
$(KDIR
)/root.
$(1) \
81 -o
$(KDIR
)/root.
$(2).enc
; \
82 buffalo-tag
-b
$(3) -p
$(3) -a ram
-v
1.76 -m
1.01 \
83 -l mlang8
-f
1 -r EU \
84 -i
$(KDIR
)/vmlinux-
$(2).uImage.enc \
85 -i
$(KDIR
)/root.
$(2).enc \
86 -o
$(call imgname
,$(1),$(2))-factory-EU.bin
; \
90 # FIXME: this looks broken
91 buffalo_whrg300n_mtd_size
=3801088
92 define BuildFirmware
/WHRG300N
/squashfs
93 $(call BuildFirmware
/Default4M
/$(1),$(1),whr-g300n
,WHR-G300N
)
94 # the following line has a bad argument 3 ... the old Makefile was already broken
95 $(call BuildFirmware
/Buffalo
,$(1),whr-g300n
,whr-g300n
)
96 if
[ -e
"$(call sysupname,$(1),$(2))" ]; then \
98 echo
-n
-e
"# Airstation FirmWare\nrun u_fw\nreset\n\n" | \
99 dd bs
=512 count
=1 conv
=sync
; \
100 dd if
=$(call sysupname
,$(1),whr-g300n
); \
101 ) > $(KDIR
)/whr-g300n-tftp.tmp
&& \
102 buffalo-tftp
-i
$(KDIR
)/whr-g300n-tftp.tmp \
103 -o
$(call imgname
,$(1),whr-g300n
)-tftp.bin
; \
106 BuildFirmware
/WHRG300N
/initramfs
=$(call BuildFirmware
/OF
/initramfs
,$(1),whr-g300n
,WHR-G300N
)
108 kernel_size_wl341v3
=917504
109 rootfs_size_wl341v3
=2949120
110 define BuildFirmware
/WL-341V3
/squashfs
111 $(call BuildFirmware
/Default4M
/$(1),$(1),wl-341v3
,WL-341V3
)
112 # This code looks broken and really needs to be converted to C
113 if
[ -e
"$(call sysupname,$(1),$(2))" ]; then \
115 dd if
=/dev
/zero bs
=195936 count
=1; \
117 dd if
=/dev
/zero bs
=581 count
=1; \
118 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"; \
119 dd if
=/dev
/zero bs
=65552 count
=1; \
120 dd if
=$(KDIR
)/vmlinux-
$(2).uImage bs
=$(kernel_size_wl341v3
) conv
=sync
; \
121 dd if
=$(KDIR
)/root.
$(1) bs
=64k conv
=sync
; \
122 dd if
=/dev
/zero bs
=`expr 4194304 - 262144 - 16 - $(kernel_size_wl341v3) - \( \( \( \`stat
-c
%s
$(KDIR
)/root.
$(1)\
` / 65536 \) + 1 \) \* 65536 \)` count
=1; \
123 echo
-n
-e
"\x11\x03\x80\x00\x10\x12\x90\xF7\x65\x52\x63\x4F\x6D\x4D\x00\x00"; \
124 ) > $(call imgname
,$(1),$(2))-factory.bin
; \
127 BuildFirmware
/WL-341V3
/initramfs
=$(call BuildFirmware
/OF
/initramfs
,$(1),wl-341v3
,WL-341V3
)
129 define BuildFirmware
/WNCE2001
/squashfs
130 $(call BuildFirmware
/Default4M
/$(1),$(1),$(2),$(3))
131 -mkdapimg
-s RT3052-AP-WNCE2001-3
-r WW
-v
1.0.0.99 \
132 -i
$(call sysupname
,$(1),$(2)) \
133 -o
$(call imgname
,$(1),$(2))-factory-worldwide.bin
134 -mkdapimg
-s RT3052-AP-WNCE2001-3
-r NA
-v
1.0.0.99 \
135 -i
$(call sysupname
,$(1),$(2)) \
136 -o
$(call imgname
,$(1),$(2))-factory-northamerica.bin
138 BuildFirmware
/WNCE2001
/initramfs
=$(call BuildFirmware
/OF
/initramfs
,$(1),$(2),$(3))
142 define BuildFirmware
/UIMAGE_8M
143 $(call MkCombineduImage
,$(1),$(2),$(call mkcmdline
,$(3),$(4),$(5)) $(call mkmtd
/$(6),$(mtdlayout_8M
)),$(kernel_size_8M
),$(rootfs_size_8M
),$(7))
145 define Image
/Build
/Profile
/ALL02393G
146 $(call Image
/Build
/Template
/$(image_type
)/$(1),UIMAGE_8M
,all0239-3g
,ALL0239-3G
,ttyS1
,57600,phys
)
149 Image
/Build
/Profile
/3G300M
=$(call BuildFirmware
/CustomFlashFactory
/$(1),$(1),3g300m
,3G300M
,$(ralink_default_fw_size_4M
),3G150M_SPI Kernel Image
,factory
)
150 Image
/Build
/Profile
/A5-V11
=$(call BuildFirmware
/Poray4M
/$(1),$(1),a5-v11
,A5-V11
)
151 Image
/Build
/Profile
/ALL0256N
=$(call BuildFirmware
/DefaultDualSize
/$(1),$(1),all0256n
,ALL0256N
)
152 Image
/Build
/Profile
/AWM002EVB
=$(call BuildFirmware
/DefaultDualSize
/$(1),$(1),awm002-evb
,AWM002-EVB
)
153 broadway_mtd_size
=7929856
154 Image
/Build
/Profile
/BROADWAY
=$(call BuildFirmware
/CustomFlashFactory
/$(1),$(1),broadway
,BROADWAY
,$(broadway_mtd_size
),Broadway Kernel Image
,factory
)
155 Image
/Build
/Profile
/JHR-N805R
=$(call BuildFirmware
/JCG
/$(1),$(1),jhr-n805r
,JHR-N805R
,29.24)
156 Image
/Build
/Profile
/JHR-N825R
=$(call BuildFirmware
/JCG
/$(1),$(1),jhr-n825r
,JHR-N825R
,23.24)
157 Image
/Build
/Profile
/JHR-N926R
=$(call BuildFirmware
/JCG
/$(1),$(1),jhr-n926r
,JHR-N926R
,25.24)
158 Image
/Build
/Profile
/DIR-300-B1
=$(call BuildFirmware
/DIR300B1
/$(1),$(1),dir-300-b1
,DIR-300-B1
,wrgn23_dlwbr_dir300b
)
159 Image
/Build
/Profile
/DIR-600-B1
=$(call BuildFirmware
/DIR300B1
/$(1),$(1),dir-600-b1
,DIR-600-B1
,wrgn23_dlwbr_dir600b
)
160 Image
/Build
/Profile
/DIR-615-D
=$(call BuildFirmware
/DIR300B1
/$(1),$(1),dir-615-d
,DIR-615-D
,wrgn23_dlwbr_dir615d
)
161 Image
/Build
/Profile
/DAP1350
=$(call BuildFirmware
/dap1350
/$(1),$(1),dap-1350
,DAP-1350
,RT3052-AP-DAP1350-3
)
162 Image
/Build
/Profile
/DAP1350WW
=$(call BuildFirmware
/dap1350
/$(1),$(1),dap-1350WW
,DAP-1350
,RT3052-AP-DAP1350WW-3
)
163 Image
/Build
/Profile
/DCS930
=$(call BuildFirmware
/DCS930
/$(1),$(1),dcs-930
,DCS-930
)
164 Image
/Build
/Profile
/DCS930LB1
=$(call BuildFirmware
/DCS930
/$(1),$(1),dcs-930l-b1
,DCS-930L-B1
)
165 Image
/Build
/Profile
/HLKRM04
=$(call BuildFirmware
/HLKRM04
/$(1),$(1),hlk-rm04
,HLKRM04
,HLK-RM04
)
166 Image
/Build
/Profile
/M3
=$(call BuildFirmware
/Poray4M
/$(1),$(1),m3
,M3
)
167 Image
/Build
/Profile
/M4
=$(call BuildFirmware
/PorayDualSize
/$(1),$(1),m4
,M4
)
168 nw718_mtd_size
=3801088
169 Image
/Build
/Profile
/NW718
=$(call BuildFirmware
/CustomFlashFactory
/$(1),$(1),nw718m
,NW718
,$(nw718_mtd_size
),ARA1B4NCRNW718
;1,factory
)
170 Image
/Build
/Profile
/PX-4885
=$(call BuildFirmware
/DefaultDualSize
/$(1),$(1),px-4885
,PX-4885
)
171 Image
/Build
/Profile
/W150M
=$(call BuildFirmware
/CustomFlashFactory
/$(1),$(1),w150m
,W150M
,$(ralink_default_fw_size_4M
),W150M Kernel Image
,factory
)
172 Image
/Build
/Profile
/W306R_V20
=$(call BuildFirmware
/CustomFlashFactory
/$(1),$(1),w306r-v20
,W306R_V20
,$(ralink_default_fw_size_4M
),linkn Kernel Image
,factory
)
173 Image
/Build
/Profile
/WL-341V3
=$(call BuildFirmware
/WL-341V3
/$(1),$(1))
174 Image
/Build
/Profile
/WNCE2001
=$(call BuildFirmware
/WNCE2001
/$(1),$(1),wnce2001
,WNCE2001
)
175 Image
/Build
/Profile
/WR512-3GN
=$(call BuildFirmware
/DefaultDualSize
/$(1),$(1),wr512-3ng
,WR512-3GN
)
176 Image
/Build
/Profile
/WT1520
=$(call BuildFirmware
/PorayDualSize
/$(1),$(1),wt1520
,WT1520
)
177 Image
/Build
/Profile
/X5
=$(call BuildFirmware
/Poray8M
/$(1),$(1),x5
,X5
)
178 Image
/Build
/Profile
/X8
=$(call BuildFirmware
/Poray8M
/$(1),$(1),x8
,X8
)
179 Image
/Build
/Profile
/WHRG300N
=$(call BuildFirmware
/WHRG300N
/$(1),$(1))
181 define LegacyDevice
/ALL02393G
182 DEVICE_TITLE
:= Allnet ALL0239-3G
183 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
185 LEGACY_DEVICES
+= ALL02393G
188 define Device
/dir-610-a1
191 IMAGES
+= factory.bin
192 KERNEL
:= $(KERNEL_DTB
)
193 IMAGE_SIZE
:= $(ralink_default_fw_size_4M
)
194 IMAGE
/sysupgrade.bin
:= \
195 append-kernel | pad-offset
$$$$(BLOCKSIZE
) 64 | append-rootfs | \
196 seama
-m
"dev=/dev/mtdblock/2" -m
"type=firmware" | \
197 pad-rootfs | check-size
$$$$(IMAGE_SIZE
)
198 IMAGE
/factory.bin
:= \
199 append-kernel | pad-offset
$$$$(BLOCKSIZE
) 64 | \
200 append-rootfs | pad-rootfs
-x
64 | \
201 seama
-m
"dev=/dev/mtdblock/2" -m
"type=firmware" | \
202 seama-seal
-m
"signature=wrgn59_dlob.hans_dir610" | \
203 check-size
$$$$(IMAGE_SIZE
)
204 DEVICE_TITLE
:= D-Link DIR-610 A1
205 DEVICE_PACKAGES
:= kmod-ledtrig-netdev kmod-ledtrig-timer
207 TARGET_DEVICES
+= dir-610-a1
210 define Device
/3g-6200n
213 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | \
214 edimax-header
-s CSYS
-m
3G62
-f
0x50000 -S
0x01100000 | pad-rootfs
215 DEVICE_TITLE
:= Edimax
3g-6200n
217 TARGET_DEVICES
+= 3g-6200n
220 define Device
/3g-6200nl
223 IMAGE
/sysupgrade.bin
:= append-kernel | append-rootfs | \
224 edimax-header
-s CSYS
-m
3G62
-f
0x50000 -S
0x01100000 | pad-rootfs
225 DEVICE_TITLE
:= Edimax
3g-6200nl
227 TARGET_DEVICES
+= 3g-6200nl
230 define LegacyDevice
/3G300M
231 DEVICE_TITLE
:= Tenda
3G300M
232 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
234 LEGACY_DEVICES
+= 3G300M
237 define LegacyDevice
/A5-V11
238 DEVICE_TITLE
:= A5-V11
239 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-ohci kmod-usb2
241 LEGACY_DEVICES
+= A5-V11
244 define LegacyDevice
/ALL0256N
245 DEVICE_TITLE
:= Allnet ALL0256N
246 DEVICE_PACKAGES
:= rssileds
248 LEGACY_DEVICES
+= ALL0256N
251 define LegacyDevice
/AWM002EVB
252 DEVICE_TITLE
:= AsiaRF AWM002-EVB
253 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
254 kmod-i2c-core kmod-i2c-gpio
256 LEGACY_DEVICES
+= AWM002EVB
259 define LegacyDevice
/BROADWAY
260 DEVICE_TITLE
:= Hauppauge Broadway
261 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
263 LEGACY_DEVICES
+= BROADWAY
266 define LegacyDevice
/JHR-N805R
267 DEVICE_TITLE
:= JCG JHR-N805R
269 LEGACY_DEVICES
+= JHR-N805R
272 define LegacyDevice
/JHR-N825R
273 DEVICE_TITLE
:= JCG JHR-N825R
275 LEGACY_DEVICES
+= JHR-N825R
278 define LegacyDevice
/JHR-N926R
279 DEVICE_TITLE
:= JCG JHR-N926R
281 LEGACY_DEVICES
+= JHR-N926R
284 define LegacyDevice
/DIR-300-B1
285 DEVICE_TITLE
:= D-Link DIR-300 B1
287 LEGACY_DEVICES
+= DIR-300-B1
290 define LegacyDevice
/DIR-600-B1
291 DEVICE_TITLE
:= D-Link DIR-600 B1
/B2
293 LEGACY_DEVICES
+= DIR-600-B1
296 define LegacyDevice
/DIR-615-D
297 DEVICE_TITLE
:= D-Link DIR-615 D
299 LEGACY_DEVICES
+= DIR-615-D
302 define Device
/dir-615-h1
305 IMAGES
+= factory.bin
306 IMAGE_SIZE
:= $(ralink_default_fw_size_4M
)
307 IMAGE
/factory.bin
:= \
308 $$(IMAGE
/sysupgrade.bin
) | senao-header
-r
0x218 -p
0x30 -t
3
309 DEVICE_TITLE
:= D-Link DIR-615 H1
311 TARGET_DEVICES
+= dir-615-h1
314 define LegacyDevice
/DAP1350
315 DEVICE_TITLE
:= D-Link DAP-1350
317 LEGACY_DEVICES
+= DAP1350
320 define LegacyDevice
/DAP1350WW
321 DEVICE_TITLE
:= D-Link DAP-1350HW
323 LEGACY_DEVICES
+= DAP1350WW
326 define LegacyDevice
/DCS930
327 DEVICE_TITLE
:= D-Link DCS-930
328 DEVICE_PACKAGES
:= kmod-video-core kmod-video-uvc kmod-sound-core kmod-usb-audio kmod-usb-core kmod-usb-dwc2
330 LEGACY_DEVICES
+= DCS930
333 define LegacyDevice
/DCS930LB1
334 DEVICE_TITLE
:= D-Link DCS-930L B1
335 DEVICE_PACKAGES
:= kmod-video-core kmod-video-uvc kmod-sound-core kmod-usb-audio kmod-usb-core kmod-usb-ohci kmod-usb2
337 LEGACY_DEVICES
+= DCS930LB1
340 define Device
/fonera20n
342 IMAGES
+= factory.bin
343 IMAGE
/factory.bin
:= $$(IMAGE
/sysupgrade.bin
) | \
344 edimax-header
-s RSDK
-m NL1T
-f
0x50000 -S
0xc0000
345 DEVICE_TITLE
:= Fonera
2.0N
346 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
348 TARGET_DEVICES
+= fonera20n
351 define LegacyDevice
/HLKRM04
352 DEVICE_TITLE
:= HILINK HLK-RM04
354 LEGACY_DEVICES
+= HLKRM04
357 define LegacyDevice
/M3
358 DEVICE_TITLE
:= Poray M3
359 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
364 define LegacyDevice
/M4
365 DEVICE_TITLE
:= Poray M4
366 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
371 define Device
/mzk-w300nh2
374 IMAGES
+= factory.bin
375 IMAGE
/factory.bin
:= $$(IMAGE
/sysupgrade.bin
) | \
376 edimax-header
-s CSYS
-m RN52
-f
0x50000 -S
0xc0000
377 DEVICE_TITLE
:= Planex MZK-W300NH2
379 TARGET_DEVICES
+= mzk-w300nh2
382 define LegacyDevice
/NW718
383 DEVICE_TITLE
:= Netcore NW718
385 LEGACY_DEVICES
+= NW718
388 define LegacyDevice
/PX-4885
389 DEVICE_TITLE
:= 7Links PX-4885
390 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport kmod-leds-gpio
392 LEGACY_DEVICES
+= PX-4885
395 define LegacyDevice
/W150M
396 DEVICE_TITLE
:= Tenda W150M
398 LEGACY_DEVICES
+= W150M
401 define LegacyDevice
/W306R_V20
402 DEVICE_TITLE
:= Tenda W306R V2.0
404 LEGACY_DEVICES
+= W306R_V20
407 define LegacyDevice
/WL-341V3
408 DEVICE_TITLE
:= Sitecom WL-341 v3
410 LEGACY_DEVICES
+= WL-341V3
413 define LegacyDevice
/WNCE2001
414 DEVICE_TITLE
:= Netgear WNCE2001
416 LEGACY_DEVICES
+= WNCE2001
419 define LegacyDevice
/WR512-3GN
420 DEVICE_TITLE
:= WR512-3GN-like router
422 LEGACY_DEVICES
+= WR512-3GN
425 define LegacyDevice
/WT1520
426 DEVICE_TITLE
:= Nexx WT1520
428 LEGACY_DEVICES
+= WT1520
431 define LegacyDevice
/X5
432 DEVICE_TITLE
:= Poray X5
/X6
433 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
438 define LegacyDevice
/X8
439 DEVICE_TITLE
:= Poray X8
440 DEVICE_PACKAGES
:= kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
445 define LegacyDevice
/WHRG300N
446 DEVICE_TITLE
:= Buffalo WHR-G300N
448 LEGACY_DEVICES
+= WHRG300N